Download the PHP package toniel/laravel-ddd without Composer
On this page you can find all versions of the php package toniel/laravel-ddd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download toniel/laravel-ddd
More information about toniel/laravel-ddd
Files in toniel/laravel-ddd
Package laravel-ddd
Short Description Domain-Driven Design (DDD) scaffolding for Laravel with support for Laravel Actions and Spatie Data
License MIT
Homepage https://github.com/toniel/laravel-ddd
Informations about the package laravel-ddd
Laravel DDD
A powerful Domain-Driven Design (DDD) scaffolding package for Laravel with support for Laravel Actions and Spatie Data.
Note: This package is currently in early development (v0.x). The API may change before the stable 1.0 release. Feedback and contributions are welcome!
Features
- ✅ 15 comprehensive commands for complete DDD workflow
- ✅ Auto-generate domain structure with a single command
- ✅ Auto-register ServiceProvider (Laravel 9-12)
- ✅ Auto-load routes, migrations, and views
- ✅ 3 controller types - Resource, API, Invokable
- ✅ Laravel Actions integration (as Job, Controller, or standalone)
- ✅ Spatie Laravel Data integration with validation
- ✅ Inertia.js page generation (Vue & React with TypeScript)
- ✅ Blade views with domain namespace
- ✅ API Resources (single & collection)
- ✅ Form Requests with validation
- ✅ Jobs (queued & synchronous)
- ✅ Mail classes with markdown support
- ✅ Separate folders for Blade (Views) and Inertia (Pages)
- ✅ PSR-4 autoloading
- ✅ Fully tested with PHPUnit
Requirements
- PHP ^8.1
- Laravel ^9.0 | ^10.0 | ^11.0 | ^12.0
Installation
Quick Start
Documentation
For complete documentation, please visit GitHub Repository.
Available Commands
| Command | Description |
|---|---|
ddd:install |
Setup DDD structure |
ddd:domain {name} |
Create new domain |
ddd:controller {domain} {name} |
Create controller (Resource/API/Invokable) |
ddd:model {domain} {name} |
Create model with optional migration/factory/seeder |
ddd:migration {domain} {name} |
Create migration |
ddd:factory {domain} {name} |
Create factory |
ddd:seeder {domain} {name} |
Create seeder |
ddd:action {domain} {name} |
Create Laravel Action |
ddd:data {domain} {name} |
Create Spatie Data object |
ddd:view {domain} {name} |
Create Blade view |
ddd:page {domain} {name} |
Create Inertia page (Vue/React) |
ddd:resource {domain} {name} |
Create API resource |
ddd:request {domain} {name} |
Create form request |
ddd:job {domain} {name} |
Create job |
ddd:mail {domain} {name} |
Create mail class |
Testing
Roadmap to 1.0
- [ ] Community feedback and bug fixes
- [ ] Additional generators (Events, Listeners, Policies, etc.)
- [ ] More comprehensive test coverage
- [ ] Documentation improvements
- [ ] Real-world usage validation
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Toni Listiyo
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-ddd with dependencies
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/console Version ^9.0|^10.0|^11.0|^12.0