Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 583 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 583 Bytes

Install

composer require renan-s-oliveira/ddd-artisan

Config

php artisan vendor:publish --provider="DDDArtisan\DDDArtisanProvider\DDDArtisanProvider" --force

return [
    'base_path' => 'DDD', // Rename 
];

How to create DDD folder structure

php artisan make:domain

Update composer.json

{
        "Application\\": "name_structure/Application",
        "Domain\\": "name_structure/Domain",
        "Support\\": "name_structure/Support",
}

More Commands

php artisan make:domain

php artisan make:application

php artisan make:support