apsg/domains
Composer 安装命令:
composer require apsg/domains
包简介
Setup helper for DDD approach in Laravel
README 文档
README
Laravel DDD
Laravel (5,6,7) setup helper for DDD approach
This package became pretty obsolete with introduction of Laravel 8, so no further updates would be provided.
What it does?
- It changes namespace in RouteServiceProvider from
App\Http\Controllersto nothing. - It creates some directories for domains.
- It fixes Auth routes for you (since it is no longer possible to use
Auth::routes()helper). - (optionally) It provides examples of usage.
Installation
composer require apsg/domains --dev
Basic usage
After fresh installation of Laravel (presumably with --auth option for laravel/ui) just run Artisan command:
php artisan ddd:setup
One can also autogenerate some examples with --examples option:
php artisan ddd:setup --examples
Cleanup
If you are happy with the outcome you can now remove the package entirely since it is no longer needed.
Just run:
composer remove apsg/domains
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-07-01