Skip to content

WIP. Hexagonal (aka Ports and Adapters) Architecture and CQRS ready Laminas Mezzio application skeleton

License

Notifications You must be signed in to change notification settings

farums/hexagonal-cqrs-skeleton

 
 

Repository files navigation

WORK IN PROGRESS

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

About

WIP. Hexagonal (aka Ports and Adapters) Architecture and CQRS ready Laminas Mezzio application skeleton

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 94.7%
  • HTML 5.3%