Download the PHP package mauretto78/simple-event-store-manager-bundle without Composer
On this page you can find all versions of the php package mauretto78/simple-event-store-manager-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mauretto78/simple-event-store-manager-bundle
More information about mauretto78/simple-event-store-manager-bundle
Files in mauretto78/simple-event-store-manager-bundle
Package simple-event-store-manager-bundle
Short Description PHP Bundle
License MIT
Homepage https://github.com/mauretto78/simple-event-store-manager-bundle
Informations about the package simple-event-store-manager-bundle
Simple EventStore Manager Bundle
This is the official Symfony bundle for Simple EventStore Manager package.
Install Guide
Step 1: Include Simple EventStore Manager Bundle in your project with composer:
Step 2: Setup your config.yml to configure your driver and connection parameters
Here is an example:
return_type
is an optional parameter; you can choose between array or object to return aggregatesapi_format
is an optional parameter; you can choose betweenjson
(default),xml
oryaml
elastic
is an optional parameter; you can send your events to a Elastic server
Please refer to Simple EventStore Manager page for more details.
Step 3: Setup your AppKernel.php by adding the Simple EventStore Manager Bundle
Step 4: Setup yor routing.yml
Add these lines at the bottom of your routing.yml
file:
Usage Guide
You can use EventsManager
in your Controllers:
Or inject it into your services and classes:
Please refer to official documentation of Simple EventStore Manager for basic usage of this Library.
API support
An API endpoint is automatically exposed to /_events/{aggregate}/{page}
route; it will automatically paged with 25 records per page.
When a page is complete, it will set automatically an infinite cache on it.
Support
If you found an issue or had an idea please refer to this section.
Authors
- Mauro Cassani - github
License
This project is licensed under the MIT License - see the LICENSE.md file for details
All versions of simple-event-store-manager-bundle with dependencies
symfony/http-kernel Version ~2.3|~3.0
symfony/dependency-injection Version ~2.3|~3.0
symfony/yaml Version ~2.3|~3.0
symfony/config Version ~2.3|~3.0
symfony/framework-bundle Version ^3.3