contributte/ddd-skeleton

DDD skeleton based on Nette Framework (@nette), Doctrine (@nettrine) and Contributte (@contributte) libraries by @f3l1x.

dev-master 2024-09-02 14:44 UTC

README

Website 🚀 contributte.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @contributte

Goal

Main goal is to try DDD with Nette.

Installation

You will need PHP 8.2+ and Composer.

Create project using composer.

composer create-project -s dev contributte/ddd-skeleton acme

Now you have application installed. It's time to run it.

Startup

HTTP

You need to spin webserver to display your application.

make dev
# php -S 0.0.0.0:8000 -t www

Then visit http://localhost:8000 in your browser.

Database

You need to execute migrations.

make migrate
# NETTE_DEBUG=1 bin/console migrations:migrate --no-interaction

Docker

You need to spin docker containers with redis and postgres to store & read messages according to your transports.

make docker-up
# docker compose up

Development

See how to contribute to this package.

This package is currently maintaining by these authors.

Consider to support contributte development team. Also thank you for using this project.