Download the PHP package bamiz/use-case-executor-bundle without Composer
On this page you can find all versions of the php package bamiz/use-case-executor-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bamiz/use-case-executor-bundle
More information about bamiz/use-case-executor-bundle
Files in bamiz/use-case-executor-bundle
Package use-case-executor-bundle
Short Description A Symfony Bundle that provides tools facilitating the isolation of business logic of your application from the delivery mechanisms.
License MIT
Homepage https://github.com/bartosz-zasada/use-case-executor-bundle
Informations about the package use-case-executor-bundle
Use Case Executor Bundle
Use Case Executor Bundle is a Symfony bundle providing an example implementation of Screaming Architecture, with help of components that come with Symfony framework. It encourages designing your class in a fashion that reflects the intention of your application. The tools provided by Use Case Executor Bundle relieve you of the repetitive task of extracting the information required to perform the right behavior from the application input, which helps you output the results in the desired way.
Installation
Just run
$ composer require bamiz/use-case-executor-bundle
Configuration
Register your bundle in AppKernel.php:
Enable serializer in app/config.yml:
Basic usage
Register your Use Case as a Symfony service:
Using an annotation, name the Use Case and optionally assign an Input Processor and a Response Processor to it. Make sure that the Use Case class contains an method with one type-hinted parameter.
Use the Use Case Executor to execute your Use Cases:
Documentation
- Concept - Use Cases, Requests, and Responses explained, basic architecture and Bundle usage examples
- Use Cases in Symfony - Differences between Application and Use Case layers explained, introducing concepts of Input and Output
- Use Case Contexts - How to configure the way your Use Cases are executed
- Toolkit - Input and Response Processors shipped with the bundle
- Using multiple Input and Response Processors
- Actors
All versions of use-case-executor-bundle with dependencies
bamiz/use-case-executor Version 0.5.0
doctrine/annotations Version ^1.0
symfony/dependency-injection Version ~2.3|~3.0
symfony/framework-bundle Version ~2.3|~3.0
symfony/serializer Version ~2.3|~3.0
symfony/form Version ~2.3|~3.0
symfony/options-resolver Version ~2.3|~3.0
symfony/templating Version ~2.3|~3.0