avoo / qcm-admin-bundle
适用于 Symfony2 的 QCM 管理组件
1.0.3
2016-10-10 09:16 UTC
Requires
- php: >=5.3.3
- avoo/qcm-core-bundle: 1.0.*
- willdurand/js-translation-bundle: ~2.1
Requires (Dev)
This package is not auto-updated.
Last update: 2024-09-14 16:24:13 UTC
README
此管理组件基于 QcmCoreBundle
安装
将 avoo/qcm-admin-bundle
添加到您的 composer.json
文件中
{ "require": { "avoo/qcm-admin-bundle": "dev-master" } }
在 app/AppKernel.php
中注册该组件
// app/AppKernel.php public function registerBundles() { return array( // ... new Bazinga\Bundle\JsTranslationBundle\BazingaJsTranslationBundle(), new Qcm\Bundle\CoreBundle\QcmCoreBundle(), new Qcm\Bundle\AdminBundle\QcmAdminBundle(), ); }
在 app/config/config.yml
中
imports: - { resource: @QcmCoreBundle/Resources/config/core.yml } - { resource: @QcmAdminBundle/Resources/config/core.yml }
在 app/config/routing.yml
中
qcm_core: prefix: / resource: "@QcmCoreBundle/Resources/config/routing.yml" qcm_admin: resource: "@QcmAdminBundle/Resources/config/routing.yml" prefix: /admin
文档
鸣谢
- Jérémy Jégou jejeavo@gmail.com
许可证
此组件以 MIT 许可证发布。在组件中查看完整的许可证。