onemustcode/laravel-ddd

Domain Driven Design package for Laravel

1.0.3 2017-08-07 11:12 UTC

This package is auto-updated.

Last update: 2024-12-04 23:07:34 UTC


README

Package to simply setup a Domain Driven Desgin Application in Laravel 5.x.

Installation

Require the Query library trough composer.

composer require onemustcode/laravel-ddd

After updating composer, add the ServiceProvider to the providers array in config/app.php

OneMustCode\LaravelDDD\ServiceProvider::class,

Creating a project

To create a project, simply run the following command and follow the instructions.

php artisan ddd:project

Creating a new entity, repository and service

To create a entity, simply run the following command and follow the instructions.

php artisan ddd:create