# AlexandriaCQRSBundle

This bundle unleashes the __Command-Query-Responsibility-Segregation__ pattern on Symfony applications.

## Installation

Use Composer to install this bundle:

```console
$ composer require alexandria/cqrs-bundle
```

Add the bundle in your application kernel:

```php
// config/bundles.php

return [
    // ...
    Alexandria\CQRSBundle\AlexandriaCQRSBundle::class => ['all' => true],
    // ...
];
```

## Run test in Docker

```docker run --rm --interactive --tty --volume $PWD:/app composer sh```

Install dependencies:
```composer install```
Run tests:
```vendor/bin/phpunit```