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: 2

Forks: 1

Open Issues: 0

Type:project

pkg:composer/reformo/hexagonal-cqrs-skeleton


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