2017 © Pedro Peláez
 

symfony-bundle crm-bundle

CRM Bundle for Symfony

image

libre-informatique/crm-bundle

CRM Bundle for Symfony

  • Friday, March 16, 2018
  • by beta
  • Repository
  • 5 Watchers
  • 4 Stars
  • 3,674 Installations
  • PHP
  • 3 Dependents
  • 4 Suggesters
  • 1 Forks
  • 3 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

SymfonyLibrinfoCRMBundle

Build Status Coverage Status License, (*1)

Latest Stable Version Latest Unstable Version Total Downloads, (*2)

CRM Bundle for Symfony, (*3)

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, (*4)

Downloading

  $ composer require libre-informatique/crm-bundle dev-master

If it fails with the message :, (*5)

- libre-informatique/crm-bundle dev-master requires libre-informatique/core-bundle dev-master -> no matching package found., (*6)

Try to install libre-informatique/core-bundle first :, (*7)

$ composer require libre-informatique/core-bundle dev-master

The Sonata bundles

Do not forget to configure the SonataAdminBundle. e.g.:, (*8)

    // 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, (*9)

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., (*10)

The "libre-informatique" bundles

Edit your app/AppKernel.php file and add the required bundles, here:, (*11)

    // 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 ..., (*12)

``` $ app/console assets:install --symlink, (*13)

The Versions