akrillia/laravel-beyond
Laravel Beyond
This package is inspired by "Laravel Beyond CRUD" from Spatie and "Modularising the Monolith" from Ryuta Hamasaki.
This package will help you with beyond:make commands to easily create classes inside your "Laravel Beyond CRUD"
inspired application.
In version 7 we changed the way how Laravel Beyond works. We now do no longer change Laravels default
directory structure, instead we place the DDD structure inside a separate src directory. This ensures
compatibility with any other (Laravel related) package.
Installation
Install laravel-beyond with composer:
composer require --dev akrillia/laravel-beyond
Add Laravel Beyonds namespaces inside your composer.json:
{
// ...
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/",
"Application\\": "src/Application",
"Domain\\": "src/Domain",
"Support\\": "src/Support"
}
},
// ...
}
[!WARNING] Do not forget to run
composer dump-autoloadafter adding the namespaces.
Documentation
Take a look at our documentation inside /docs to learn about the available
commands and how to use them.
Directory structure
|- src
| |- Application
| | |- Admin
| | | |- Commands
| | | |- Controllers
| | | |- Jobs
| | | |- Policies
| | | |- Processes
| | | |- Queries
| | | |- Requests
| | | |- Resources
| |- Domain
| | |- User
| | | |- Actions
| | | |- Builder
| | | |- Collections
| | | |- DataObjects
| | | |- Enums
| | | |- Events
| | | |- Listeners
| | | |- Models
| | | |- Observers
| |- Support
| | |- Casts
| | |- Providers
| | |- Rules
Contributors
| Maintainer | Maintainer |
|---|---|
| @regnerisch | @alexanderkroneis |
Contributors:
License
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 7.1.0 | ^8.2 | ^11.0| | ISC | |
| 7.0.4 | ^8.2 | ^10.0| | ISC | |
| 7.0.3 | ^8.2 | ^10.0| | ISC | |
| 7.0.0 | ^8.2 | ^10.0| | ISC | |
| 6.0.1 | ^8.1 | ^9.0| | ISC | |
| 6.0.0 | ^8.1 | ^9.0| | ISC | |
| 5.4.1 | ^8.0 | ^9.0| | ISC | |
| 5.4.0 | ^8.0 | ^9.0| | ISC | |
| 5.3.2 | ^8.0 | ^9.0 | ISC | |
| 5.3.1 | ^8.0 | ^9.0 | ISC | |
| 5.3.0 | ^8.0 | ^9.0 | ISC | |
| 5.2.1 | ^8.0 | ^9.0 | ISC | |
| 5.2.0 | ^8.0 | ^9.0 | ISC | |
| 5.1.0 | ^8.0 | ^9.0 | ISC | |
| 5.0.0 | ^8.0 | ^9.0 | ISC | |
| 4.0.1 | ^8.0 | ^9.0 | ISC | |
| 4.0.0 | ^8.0 | ^9.0 | ISC | |
| 3.2.1 | ^8.0 | ^9.0 | ISC | |
| 3.2.0 | ^8.0 | ^9.0 | ISC | |
| 3.1.1 | ^8.0 | ^9.0 | ISC | |
| 3.1.0 | ^8.0 | ^9.0 | ISC | |
| 3.0.0 | ^8.0 | ^9.0 | ISC | |
| 2.8.1 | ^8.0 | ^9.0 | ISC | |
| 2.8.0 | ^8.0 | ^9.0 | ISC | |
| 2.7.0 | ^8.0 | ^9.0 | ISC | |
| 2.6.1 | ^8.0 | ^9.0 | ISC | |
| 2.6.0 | ^8.0 | ^9.0 | ISC | |
| 2.5.0 | ^8.0 | ^9.0 | ISC | |
| 2.4.7 | ^8.0 | ^9.0 | ISC | |
| 2.4.6 | ^8.0 | ^9.0 | ISC |
Showing the latest 30 of 45. See every release on Packagist
Pre-releases (19)
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 7.0.0-beta.8 | ^8.2 | ^10.0| | ISC | |
| 7.0.0-beta.7 | ^8.2 | ^10.0 | ISC | |
| 7.0.0-beta.6 | ^8.2 | ^10.0 | ISC | |
| 7.0.0-beta.5 | ^8.2 | ^10.0 | ISC | |
| 7.0.0-beta.4 | ^8.1 | ^10.0 | ISC | |
| 7.0.0-beta.3 | ^8.1 | ^10.0 | ISC | |
| 7.0.0-beta.2 | ^8.1 | ^10.0 | ISC | |
| 7.0.0-beta.1 | ^8.1 | ^10.0 | ISC | |
| 3.0.0-beta.10 | ^8.0 | ^9.0 | ISC | |
| 3.0.0-beta.9 | ^8.0 | ^9.0 | ISC | |
| 3.0.0-beta.8 | ^8.0 | ^9.0 | ISC | |
| 3.0.0-beta.7 | ^8.0 | ^9.0 | ISC | |
| 3.0.0-beta.6 | ^8.0 | ^9.0 | ISC | |
| 3.0.0-beta.5 | ^8.0 | ^9.0 | ISC | |
| 3.0.0-beta.4 | ^8.0 | ^9.0 | ISC | |
| 3.0.0-beta.3 | ^8.0 | ^9.0 | ISC | |
| 3.0.0-beta.2 | ^8.0 | ^9.0 | ISC | |
| 3.0.0-beta.1 | ^8.0 | ^9.0 | ISC | |
| 3.0.0-beta.0 | ^8.0 | ^9.0 | ISC |