libre-informatique / crm-bundle
CRM Bundle for Symfony
Installs: 3 694
Dependents: 3
Suggesters: 4
Security: 0
Stars: 3
Watchers: 6
Forks: 1
Type:symfony-bundle
Requires
- php: >=7.1
- blast-project/base-entities-bundle: 0.6.4
- blast-project/core-bundle: 0.6.4
- blast-project/outer-extension-bundle: 0.6.4
- blast-project/utils-bundle: 0.6.4
- friendsofsymfony/jsrouting-bundle: >=1.6
- jeroendesloovere/vcard-bundle: >=1.2
- sparkling/vat-bundle: >=0.1
- stof/doctrine-extensions-bundle: >=1.2
- symfony/symfony: >=3.2
Requires (Dev)
- phpunit/phpunit: ^6.4
- symfony/phpunit-bridge: >=3.2
This package is not auto-updated.
Last update: 2024-11-18 07:23:22 UTC
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/bin
in 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