reformo / hexagonal-cqrs-skeleton
Hexagonal (Ports and Adapters) Architecture and CQRS Ready Zend Expressive Skeleton!
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 3
Forks: 1
Open Issues: 0
Type:project
Requires
- php: ^7.3
- ext-gettext: *
- ext-intl: *
- ext-json: *
- doctrine/collections: ^1.6
- doctrine/dbal: ^2.9
- gettext/gettext: ^5.1
- laminas/laminas-component-installer: ^2.1.1
- laminas/laminas-config-aggregator: ^1.0
- laminas/laminas-dependency-plugin: ^1.0
- laminas/laminas-diactoros: ^1.7.1 || ^2.0
- laminas/laminas-servicemanager: ^3.3
- laminas/laminas-stdlib: ^3.1
- league/tactician: ~2.0-rc1
- mezzio/mezzio: ^3.0.1
- mezzio/mezzio-csrf: ^1.0
- mezzio/mezzio-fastroute: ^3.0
- mezzio/mezzio-helpers: ^5.0
- mezzio/mezzio-problem-details: ^1.0
- mezzio/mezzio-session: ^1.3
- mezzio/mezzio-session-ext: ^1.7
- mezzio/mezzio-swoole: ^2.4
- mezzio/mezzio-twigrenderer: ^2.0
- ocramius/proxy-manager: ^2.2
- ramsey/uuid: ^3.8
- selami/console: ^1.0
- selami/stdlib: ^1.8
- twig/extensions: ^1.5
- vlucas/phpdotenv: ^3.6
- webmozart/assert: ^1.5
Requires (Dev)
- behat/behat: ^3.5
- doctrine/coding-standard: ^6.0
- filp/whoops: ^2.1.12
- laminas/laminas-development-mode: ^3.1
- mezzio/mezzio-tooling: ^1.0
- phpunit/phpunit: ^7.0.1
- roave/security-advisories: dev-master
- rskuipers/php-assumptions: ^0.8.0
- squizlabs/php_codesniffer: ^3.5
- swoole/ide-helper: ^4.4
README
Hexagonal (Ports and Adapters) Architecture and CQRS Ready Laminas Mezzio Skeleton.
An opinionated framework to develop CQRS applications using hexagonal architecture structure.
Built on basically these libraries:
- Laminas Mezzio (Laminas ServiceManager, FastRoute, Twig)
- Tactician CommandBus by thephpleague.com
- Doctrine DBAL
- Symfony Console
Coding standard
Doctrine Coding Standart is used
Installation
composer create-project reformo/hexagonal-cqrs-skeleton MyApplication
Development Server
FrontWeb
composer run --timeout=0 start-frontweb
PrivateApi
composer run --timeout=0 start-private-api
Production Server using Swoole
FrontWeb
Since Swoole has problems with native PHP sessions, FrontWeb will give 500 Server Error until we fixed it.
bin/mezzio-swoole start --module FrontWeb
PrivateApi
bin/mezzio-swoole start --module PrivateApi