Download the PHP package mb-x/architect-bundle without Composer
On this page you can find all versions of the php package mb-x/architect-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mb-x/architect-bundle
More information about mb-x/architect-bundle
Files in mb-x/architect-bundle
Package architect-bundle
Short Description This Bundle provides an architecture to separate the different job layers in your Symfony application.
License MIT
Homepage https://github.com/mb-x/architect-bundle
Informations about the package architect-bundle
ArchitectBundle
This Bundle provides an architecture to separate the different job layers in your Symfony application.
1. Installation
This bundle was tested with Symfony 2.8.14 and Symfony 3.0.9
Step 1: Download ArchitectBundle using composer
Require the bundle with composer:
Step 2: Enable the bundle
Enable the bundle in the kernel:
2. Usage
Step 1: Implement EntityInterface
First, your entity class should implement EntityInterface and getId method
Step 2: Create the Manager and FormHandler classes
this command will generate the Manager and FormHandler classes for Post Entity
Step 3: Registering your Manager and FormHandler classes as a Service
Step 4: The controller
Your controller will contain less code because all the logic and operations will be done in your Manager and FormHandler classes
3. Example
4. Suggestions
Much like every other piece of software MbxArchitectBundle
is not perfect.
Any suggestion that can improve or add features to this bundle is appreciated.
5. Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
6. Friendly License
This bundle is available under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE
You are free to use, modify and distribute this software, as long as the copyright header is left intact (specifically the comment block which starts with /*)!
All versions of architect-bundle with dependencies
symfony/framework-bundle Version >=2.7
twig/twig Version *
doctrine/doctrine-bundle Version *