konradx3/architect-command-bundle
Composer 安装命令:
composer require konradx3/architect-command-bundle
包简介
Architect command bundle. Fast CTE, FMD creation.
关键字:
README 文档
README
A contao tool that allows you to quickly generate necessary files and configurations such as content elements or frontend modules.
Requirements
- PHP ^8.x
- Contao ^5.x
Installation
composer require konradx3/architect-command-bundle --dev
Usage
You can change and configure each generated file to suit your needs. It's just a generator
If you create a bundle, there will be a BUNDLE NAMESPACE variable in the .env file that will store your namespace. You don't have to enter it every time.
You can also create such a variable yourself, it will be passed to the Architect.
Create custom bundle.
php contao-console architect:create:bundle [bundleName] [directory] [--namespace]
- [controller] - optional, CustomContaoApp or CustomContaoAppBundle, default AppBundle
- [directory] - optional, path/your/custom-bundle, default App/src/...
- [--namespace] - optional, if you need custom namespace you can type here your namespace
Generate content element.
php contao-console architect:make:content-element [controller] [directory] [--namespace]
- [controller] - required, FooBarController
- [directory] - optional, path/your/custom-bundle, default App/src/...
- [--namespace] - optional, if you need custom namespace you can type here your namespace
Generate frontend module.
php contao-console architect:make:frontend-module [controller] [directory] [--namespace]
- [controller] - required, FooBarController
- [directory] - optional, path/your/custom-bundle, default App/src/...
- [--namespace] - optional, if you need custom namespace you can type here your namespace
Generate controller.
php contao-console architect:make:controller [controller] [type] [directory] [--namespace]
- [controller] - required, FooBarController
- [type] - optional, FMD - frontend module or CTE - content element
- [directory] - optional, path/your/custom-bundle, default App/src/...
- [--namespace] - optional, if you need custom namespace you can type here your namespace
Generate controller settings in services.yaml.
php contao-console architect:make:controller-config-services [controller] [type] [directory] [--namespace]
- [controller] - required, FooBarController
- [type] - required, FMD - frontend module or CTE - content element
- [directory] - optional, path/your/custom-bundle, default App/src/...
- [--namespace] - optional, if you need custom namespace you can type here your namespace
Generate controller settings in dca.
php contao-console architect:make:controller-config-dca [controller] [type] [directory]
- [controller] - required, FooBarController
- [type] - required, FMD - frontend module or CTE - content element
- [directory] - optional, path/your/custom-bundle, default App/src/...
Generate twig template for controller.
php contao-console architect:make:controller-template [controller] [type] [directory]
- [controller] - required, FooBarController
- [type] - required, FMD - frontend module or CTE - content element
- [directory] - optional, path/your/custom-bundle, default App/src/...
konradx3/architect-command-bundle 适用场景与选型建议
konradx3/architect-command-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 153 次下载、GitHub Stars 达 2, 最近一次更新时间为 2023 年 12 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Architect」 「automatisation」 「generator for contao」 「create content element」 「create frontend module」 「contao 5」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 konradx3/architect-command-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 konradx3/architect-command-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 konradx3/architect-command-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Memio's PrettyPrinter, used to generate PHP code from given Model
CraftCMS plugin to generate content models from JSON/YAML data.
Admin Architect - Settings Module. Package provide easy way to load and store options from/in database
This is going to be the management application for database and application management.
Admin Architect - Contacts
PHP library for Yii2 - developed by and_y87
统计信息
- 总下载量: 153
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-20