Download the PHP package cbaconnier/laravel-mvc-to-ddd without Composer
On this page you can find all versions of the php package cbaconnier/laravel-mvc-to-ddd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cbaconnier/laravel-mvc-to-ddd
More information about cbaconnier/laravel-mvc-to-ddd
Files in cbaconnier/laravel-mvc-to-ddd
Package laravel-mvc-to-ddd
Short Description Automatically change the default Laravel MVC architecture to DDD architecture
License MIT
Informations about the package laravel-mvc-to-ddd
Laravel MVC to DDD
Automatically change the default Laravel MVC architecture to a DDD architecture approach.
You can see an example of what it will do on a fresh Laravel application using Livewire, Jetstream and teams feature: cbaconnier/laravel-mvc-to-ddd-demo
Disclaimer
⚠️ I will not be responsible if this package destroys your code. It should only be used on a fresh installation.
Requirements
- Fresh installation of Laravel 10
- Laravel Fortify (optional)
- Laravel Jetstream (optional)
- Laravel Pest (optional)
Installation
You can install the package via composer:
composer require cbaconnier/laravel-mvc-to-ddd --dev
Usage
Since the command may be destructive to your application, it's strongly recommended to commit before you run this command
php artisan ddd:install
Note: You can remove it once it has been installed
composer remove cbaconnier/laravel-mvc-to-ddd
Architecture
Todo
- Support laravel/ui
- Cleanup the empty folders
Credit
Thanks to Brent Roose for his awesome work on Laravel Beyond CRUD on which this architecture is based on.
All versions of laravel-mvc-to-ddd with dependencies
illuminate/console Version ^9.0|^10.0
illuminate/filesystem Version ^9.0|^10.0
illuminate/support Version ^9.0|^10.0