libre-informatique/crm-bundle
最新稳定版本:0.6.4
Composer 安装命令:
composer require libre-informatique/crm-bundle
包简介
CRM Bundle for Symfony
README 文档
README
CRM Bundle for Symfony
Installation
Prequiresites
- having a working Symfony2 environment
- having created a working Symfony2 app (including your DB and your DB link)
- having composer installed (here in
/usr/local/bin/composer, having/usr/local/binin your path)
Optional:
- having blast-project/core-bundle installed, or if not, follow the README instructions of the Core bundle
Downloading
$ composer require libre-informatique/crm-bundle dev-master
If it fails with the message :
- libre-informatique/crm-bundle dev-master requires libre-informatique/core-bundle dev-master -> no matching package found.
Try to install libre-informatique/core-bundle first :
$ composer require libre-informatique/core-bundle dev-master
The Sonata bundles
Do not forget to configure the SonataAdminBundle. e.g.:
// app/AppKernel.php // ... public function registerBundles() { $bundles = array( // ... // Sonata new Sonata\CoreBundle\SonataCoreBundle(), new Sonata\BlockBundle\SonataBlockBundle(), new Knp\Bundle\MenuBundle\KnpMenuBundle(), new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle(), new Sonata\AdminBundle\SonataAdminBundle(), // your personal bundles ); } // ...
# app/config/routing.yml
admin:
resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'
prefix: /
_sonata_admin:
resource: .
type: sonata_admin
prefix: /
# app/config/config.yml
sonata_block:
default_contexts: [cms]
blocks:
# Enable the SonataAdminBundle block
sonata.admin.block.admin_list:
contexts: [admin]
# Your other blocks
But please, refer to the source doc to get up-to-date : https://sonata-project.org/bundles/admin/2-3/doc/reference/installation.html
Just notice that the prefix value is / instead of /admin as advised by the Sonata Project... By the way, it means that this access is universal, and not a specific "backend" interface. That's a specificity of a software package that intends to be focused on professional workflows.
The "libre-informatique" bundles
Edit your app/AppKernel.php file and add the required bundles, here:
// app/AppKernel.php // ... public function registerBundles() { $bundles = array( // ... // The libre-informatique bundles new Blast\CoreBundle\BlastCoreBundle(), new Librinfo\CRMBundle\LibrinfoCRMBundle(), // your personal bundles ); } // ...
Finish
Publish the assets ...
$ app/console assets:install --symlink
统计信息
- 总下载量: 3.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 3
- 依赖项目数: 3
- 推荐数: 4
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2015-09-28