akrillia / laravel-beyond
Installs: 32 800
Dependents: 0
Suggesters: 0
Security: 0
Stars: 224
Watchers: 6
Forks: 24
Open Issues: 0
pkg:composer/akrillia/laravel-beyond
Requires
- php: ^8.2
- ext-fileinfo: ^8.2
- illuminate/console: ^11.0|^12.0
- illuminate/filesystem: ^11.0|^12.0
- illuminate/support: ^11.0|^12.0
- laravel/prompts: ^v0.3.5
Requires (Dev)
- laravel/pint: ^v1.21
- orchestra/testbench: ^9.1|^10.1
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^v11.0
- spatie/laravel-data: ^4.13
- spatie/laravel-query-builder: ^6.3.1
- spatie/laravel-queueable-action: ^2.16
- 7.x-dev
- 7.1.0
- 7.0.4
- 7.0.3
- 7.0.0
- 7.0.0-beta.8
- 7.0.0-beta.7
- 7.0.0-beta.6
- 7.0.0-beta.5
- 7.0.0-beta.4
- 7.0.0-beta.3
- 7.0.0-beta.2
- 7.0.0-beta.1
- 6.x-dev
- 6.0.1
- 6.0.0
- 5.4.1
- 5.4.0
- 5.3.2
- 5.3.1
- 5.3.0
- 5.2.1
- 5.2.0
- 5.1.0
- 5.0.0
- 4.0.1
- 4.0.0
- 3.2.1
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.0
- 3.0.0-beta.10
- 3.0.0-beta.9
- 3.0.0-beta.8
- 3.0.0-beta.7
- 3.0.0-beta.6
- 3.0.0-beta.5
- 3.0.0-beta.4
- 3.0.0-beta.3
- 3.0.0-beta.2
- 3.0.0-beta.1
- 3.0.0-beta.0
- 2.8.1
- 2.8.0
- 2.7.0
- 2.6.1
- 2.6.0
- 2.5.0
- 2.4.7
- 2.4.6
- 2.4.5
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.0
- 1.2.0
- 1.1.1
- 1.0.0
- dev-feat/new-command-and-laravel-12
- dev-main
This package is auto-updated.
Last update: 2025-10-10 09:16:48 UTC
README
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-autoload after 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: