melisplatform/melis-templating-plugin-creator
Composer 安装命令:
composer require melisplatform/melis-templating-plugin-creator
包简介
Melis Platform Templating Plugin Creator
关键字:
README 文档
README
Generates a ready-to-use templating plugin, complete with source code and necessary configuration. This will aid the developers, especially the new developers of the platform, to swiftly create a plugin without delving deeply into plugin's technicalities.
Getting started
These instructions will get you a copy of the project up and running on your machine.
Prerequisites
The following modules need to be installed to run the Melis Templating Plugin Creator module:
- Melis Core
- Melis Tool Creator
Installing
Run the composer command:
composer require melisplatform/melis-templating-plugin-creator
The owner of the 'public' directory in the root of the project folder must be set to 'www-data' and it must be writable. This is where the plugin thumbnails are temporarily saved.
chown www-data public
chmod 775 -R public
Database
No database is needed for this tool
Tools and elements provided
- Templating Plugin Creator Tool
- Templating Plugin Creator Service
Templating Plugin Creator Tool
- user must specify the destination of the generated plugin: new module or existing site module
- the properties of the plugin need to be set(field name, display type, default options, default value and required attribute) as well as their translations which will then be used in the plugin modal form
- the 'Template' property is already set by default
- after generation, the source code can be found inside the destination module ready to be updated based on the project's requirements
- the generated plugin can then be found inside the Plugin's menu in the Melis CMS Page Edition System
Templating Plugin Creator Service
File:
- /melis-templating-plugin-creator/src/Service/MelisTemplatingPluginCreatorService.php
-
MelisTemplatingPluginCreatorService
- This service's main function is to generate a templating plugin using the parameters saved in the current session.
$templatingPluginService = $this->getServiceManager()->get('MelisTemplatingPluginCreatorService'); $result = $templatingPluginService->generateTemplatingPlugin();
Authors
- Melis Technology - www.melistechnology.com
See also the list of contributors who participated in this project.
License
This project is licensed under the Melis Technology premium versions end user license agreement (EULA) - see the LICENSE.md file for details
melisplatform/melis-templating-plugin-creator 适用场景与选型建议
melisplatform/melis-templating-plugin-creator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 489 次下载、GitHub Stars 达 1, 最近一次更新时间为 2022 年 03 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「templating」 「plugin」 「zf2」 「module」 「melis」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 melisplatform/melis-templating-plugin-creator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 melisplatform/melis-templating-plugin-creator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 melisplatform/melis-templating-plugin-creator 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Shoot aims to make providing data to your templates more manageable
CakePHP 4.x AdminLTE Theme.
LosLog provides some log utility
EdpModuleLayouts is very simple Laminas module for making module-specific layouts insanely easy.
A Processor for Markup written in PHP. Allows extraction of Markup into a data structure, orchestrated nested manipulation of said structure, and output as (optimized) Markup.
Zend Framework module to leverage the symfony dependency injection container
统计信息
- 总下载量: 489
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2022-03-04