contributte / ddd-skeleton

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

Home Page:https://examples.contributte.org/ddd-skeleton/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://examples.contributte.org/ddd-skeleton/

License:MIT License


Languages

Language:PHP 73.7%Language:Latte 13.3%Language:Makefile 13.0%