CRM Bundle for Symfony

Installs: 3 689

Dependents: 3

Suggesters: 4

Security: 0

Stars: 3

Watchers: 6

Forks: 1

Type:symfony-bundle

0.6.4 2017-11-03 15:08 UTC

This package is not auto-updated.

Last update: 2024-10-21 07:04:54 UTC


README

Build Status Coverage Status License

Latest Stable Version Latest Unstable Version Total Downloads

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