Download the PHP package apsg/domains without Composer
On this page you can find all versions of the php package apsg/domains. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor apsg
Package domains
Short Description Setup helper for DDD approach in Laravel
License MIT
Homepage https://github.com/apsg/domains
Package domains
Short Description Setup helper for DDD approach in Laravel
License MIT
Homepage https://github.com/apsg/domains
Please rate this library. Is it a good library?
Informations about the package domains
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\Controllers
to 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:
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
All versions of domains with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
~5|~6|~7|~8
The package apsg/domains contains the following files
Loading the files please wait ....