定制 rosgear/ge-composer-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rosgear/ge-composer-plugin

Composer 安装命令:

composer require rosgear/ge-composer-plugin

包简介

Composer plugin for installing components, themes and libraries of the RosGear web application

README 文档

README

Русский | English

Latest Stable Version Total Downloads Source Code Software License php 8.2+

Плагин Composer

Плагин Composer служит для установки ресурсов веб‑приложения RosGear — в том числе компонентов, тем и библиотек.

Чтобы установить ресурс, вам нужно добавить атрибут "type" в ваш файл composer.json и присвоить ему соответствующие значение, а в разделе "extra" указать дополнительные настройки.

Для установки ресурсов, таких как:

  • компоненты (модули, расширения модулей, виджеты и плагины), необходимо указать "type" : "component".

В разделе "extra" вы можете дополнительно добавить путь установки или идентификатор компонента, например:

{"extra" : {"ge": {"path": "/your-name/component-dir"} } }

или

{"extra" : {"ge": {"id": "component.id", "vendor": "your-name"} } }
  • темы, необходимо указать "type" : "theme".

В разделе "extra" вы можете дополнительно добавить тип и название темы, например:

{"extra" : {"ge": {"type": "frontend", "name": "theme-name"} } }

или

{"extra" : {"ge": {"type": "backend", "name": "theme-name"} } }
  • пакеты компонентов или библиотеки Ge Framework, необходимо указать "type" : "ge".

В разделе "extra" вы можете дополнительно добавить путь установки, например:

{"extra" : {"ge": {"path": "/public/vendors/ge/panel"} } }
  • сторонние библиотеки (библиотеки других разработчиков), необходимо указать "type" : "library".

В разделе "extra" вы можете дополнительно добавить название библиотеки или локальный путь относительно проекта, например:

{"extra" : {"ge": {"path": "/vendor/library-dir"} } }

или

{"extra" : {"ge": {"name": "library-name"} } }
  • локализации, необходимо указать "type" : "lang";
  • файлы и папки редакции веб-приложения RosGear, необходимо указать "type": "skeleton".

В раздел "require" необходимо добавить "rosgear/ge-composer-plugin": "*", а в файле проекта composer.json указать:

{
    ...,
    "config": {
        "allow-plugins": {
            "rosgear/ge-composer-plugin": true
        }
    }
}

Composer plugin

The Composer plugin is used to install RosGear web application resources, including components, themes, and libraries.

To install a resource, you need to add the "type" attribute to your composer.json file and assign it the appropriate value, and specify additional settings in the "extra" section.

To install resources such as:

  • components (modules, module extensions, widgets, and plugins), must be specified "type" : "component".

In the "extra" section you can optionally specify the installation path or component ID, for example:

{"extra" : {"ge": {"path": "/your-name/component-dir"} } }

or

{"extra" : {"ge": {"id": "component.id", "vendor": "your-name"} } }
  • themes, must be specified "type" : "theme".

In the "extra" section you can additionally specify the type and name of the theme, for example:

{"extra" : {"ge": {"type": "frontend", "name": "theme-name"} } }

or

{"extra" : {"ge": {"type": "backend", "name": "theme-name"} } }
  • Ge Framework component packages or libraries, must be specified "type" : "ge".

In the "extra" section you can additionally specify the installation path, for example:

{"extra" : {"ge": {"path": "/public/vendors/ge/panel"} } }
  • third-party libraries (libraries from other developers), must be specified "type" : "library".

In the "extra" section you can optionally specify the library name or local path relative to the project, for example:

{"extra" : {"ge": {"path": "/vendor/library-dir"} } }

or

{"extra" : {"ge": {"name": "library-name"} } }
  • localization, must be specified "type" : "lang";
  • RosGear web application edition files and folders, must be specified "type": "skeleton".

In the "require" section you need to add "rosgear/ge-composer-plugin": "*", and in the project file composer.json specify:

{
    ...,
    "config": {
        "allow-plugins": {
            "rosgear/ge-composer-plugin": true
        }
    }
}

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2026-06-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固