matiux/ddd-starter-pack

Basic Domain Driven Design utils

v4.11.1 2024-04-26 07:10 UTC

README

check dependencies check deps vulnerability test codecov type coverage psalm level Security analysis status Coding standards status packagist packagist php version

This library contains "concepts" to development of microservices based on hexagonal architecture and DDD.

  • Branch v2: PHP < 8.0

Development

git clone git@github.com:matiux/ddd-starter-pack.git && cd ddd-starter-pack
cp docker/docker-compose.override.dist.yml docker/docker-compose.override.yml
rm -rf .git/hooks && ln -s ../scripts/git-hooks .git/hooks
make build-php ARG=--no-cache
make upd
make composer ARG=install

test

make build-php ARG=--no-cache
make upd
make create-schema
make test

This repository uses GitHub actions to perform some checks. If you want to test the actions locally you can use act. For example if you want to check the action for static analysis

act -P ubuntu-latest=shivammathur/node:latest --job static-analysis

Modules

TODO