libre-informatique / email-crm-bundle
CRM Bundle for Symfony with Email management
Installs: 2 047
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 7
Forks: 0
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
- libre-informatique/crm-bundle: 0.6.4
- libre-informatique/email-bundle: 0.6.4
- libre-informatique/media-bundle: 0.6.4
- 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-04 06:41:22 UTC
README
CRM bundle for Symfony with Email management
This bundle leverages the full potential of both SymfonyLibrinfoEmailBundle and SymfonyLibrinfoCRMBundle
It is also a proof of concept of how it is possible to override the entity mapping of a Symfony bundle, using the new Design Pattern "Outer Extension" (still a WIP in the Libre Informatique's lab, for the moment)! New article coming soon about how we did it...
Usage
You have to implement 4 "outer extension" traits in your symfony AppBundle :
- ContactExtension
- PositionExtension
- OrganismExtension
- EmailExtension
// src/AppBundle/Entity/Extension/ContactExtension.php namespace AppBundle\Entity\Extension; trait ContactExtension { use \Librinfo\EmailCRMBundle\Entity\Traits\HasEmailMessages; }
// src/AppBundle/Entity/Extension/PositionExtension.php namespace AppBundle\Entity\Extension; trait PositionExtension { use \Librinfo\EmailCRMBundle\Entity\Traits\HasEmailMessages; }
// src/AppBundle/Entity/Extension/OrganismExtension.php namespace AppBundle\Entity\Extension; trait OrganismExtension { use \Librinfo\EmailCRMBundle\Entity\Traits\HasEmailMessages; }
// src/AppBundle/Entity/Extension/EmailExtension.php namespace AppBundle\Entity\Extension; trait EmailExtension { use \Librinfo\EmailCRMBundle\Entity\Traits\HasEmailRecipients; }
... and now the entities of SymfonyLibrinfoEmailBundle and SymfonyLibrinfoCRMBundle are linked from outer space!