Releases: jaspertey/laravel-ddd
v3.0.1
[3.0.1] - 2026-05-22
Changed
ddd:upgradenow delegates config upgrade toDDD::config()->syncWithLatest()->save()instead of duplicating the logic inline.
Removed
- Dropped legacy 0.x config upgrade compatibility from
ddd:upgrade
What's Changed
- Clean up upgrade command. by @jaspertey in #110
Full Changelog: v3.0.0...v3.0.1
v3.0.0
The package has a new home.
composer require tey/laravel-ddd:^3.0Upgrading from v2? Update to lunarstorm/laravel-ddd v2.1.2 first — it includes a one-command upgrade path:
composer require lunarstorm/laravel-ddd:"^2.1.2"
php artisan ddd:upgradeddd:upgrade handles the composer swap, namespace migration, and config update automatically. See UPGRADING for details.
What changed
- Package renamed:
lunarstorm/laravel-ddd→tey/laravel-ddd - PHP namespace:
Lunarstorm\LaravelDDD→Tey\LaravelDDD - Repository moved to jaspertey/laravel-ddd
No functional changes — all features from v2 carry over.
v2.1.2
Important
Final v2 release. The package has moved to tey/laravel-ddd in v3 — this release makes upgrading a one-command operation.
Update to v2.1.2, then run ddd:upgrade:
composer update lunarstorm/laravel-ddd
php artisan ddd:upgradeddd:upgrade will handle the rest — composer swap, namespace migration, and config update.
v2.1.1
[2.1.1] - 2026-03-24
Added
- Domain event listener and subscriber auto-discovery via
ddd.autoload.listeners(opt-in, disabled by default).
What's Changed
- Add autoload support for event listeners by @zain534102 in #106
New Contributors
- @zain534102 made their first contribution in #106
Full Changelog: v2.1.0...v2.1.1
v2.1.0
[2.1.0] - 2026-03-22
Added
- Laravel 13 support.
Changed
- Minimum PHP version is now 8.3 (dropped PHP 8.2 support).
Chore
- Bump dependencies.
- Resolve test issues on CI.
What's Changed
- Bump aglipanci/laravel-pint-action from 2.5 to 2.6 by @dependabot[bot] in #95
- Bump dependabot/fetch-metadata from 2.4.0 to 2.5.0 by @dependabot[bot] in #100
- Add Laravel 13 support by @danny-de-wit in #102
- Fix CI issues by @jaspertey in #104
- Bump ramsey/composer-install from 3 to 4 by @dependabot[bot] in #101
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #98
- Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in #97
New Contributors
- @danny-de-wit made their first contribution in #102
Full Changelog: v2.0.2...v2.1.0
v2.0.2
v2.0.1
[2.0.1] - 2025-07-09
Added
- Ensure domain migration folders are also pruned when pruning migrations via
php artisan schema:dump --prune.
What's Changed
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot in #89
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot in #90
- Ensure domain migrations are pruned when running schema:dump --prune by @atom1285 in #91
- Add domain migration pruning tests by @jaspertey in #93
New Contributors
Full Changelog: v2.0.0...v2.0.1
v2.0.0
[2.0.0] - 2025-03-02
Chore
- Add support for Laravel 12.
- Minimum PHP version is now 8.2.
- Minimum Laravel 11 version is now 11.44.
- Drop support for Laravel 10.
What's Changed
- Laravel 12 Support by @jaspertey in #88
Full Changelog: v1.2.1...v2.0.0
v1.2.1
[1.2.1] - 2025-02-17
Fixed
- Ensure deeply-nested subdomains specified in dot notation are normalized to slashes when generating the objects into their destination path.
Chore
- Bump dependencies.
What's Changed
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in #84
- Bump aglipanci/laravel-pint-action from 2.4 to 2.5 by @dependabot in #85
- 83 handle deep nested subdomains by @jaspertey in #86
Full Changelog: v1.2.0...v1.2.1
v1.2.0
🔥 1.2 is a major update with several new features and breaking changes (for some). Use php artisan ddd:config update to rebuild your existing config file according to the latest version, and be sure to review the Upgrade Guide for full details about upgrading from 1.1.x.
[1.2.0] - 2024-11-23
Breaking
- Stubs are now published to
base_path('stubs/ddd')instead ofresource_path('stubs/ddd'). In other words, they are now co-located alongside the framework's published stubs, within a ddd subfolder. - Published stubs now use
.stubextension instead of.php.stub(following Laravel's convention). - If you are using published stubs from pre 1.2, you will need to refactor your stubs accordingly.
Added
- Support for the Application Layer, to generate domain-specific objects that don't belong directly in the domain layer:
// In config/ddd.php 'application_path' => 'app/Modules', 'application_namespace' => 'App\Modules', 'application_objects' => [ 'controller', 'request', 'middleware', ],
- Support for Custom Layers, additional top-level namespaces of your choosing, such as
Infrastructure,Integrations, etc.:// In config/ddd.php 'layers' => [ 'Infrastructure' => 'src/Infrastructure', ],
- Added config utility command
ddd:configto help manage the package's configuration over time. - Added stub utility command
ddd:stubto publish one or more stubs selectively. - Added
ddd:controllerto generate domain-specific controllers. - Added
ddd:requestto generate domain-spefic requests. - Added
ddd:middlewareto generate domain-specific middleware. - Added
ddd:migrationto generate domain migrations. - Added
ddd:seederto generate domain seeders. - Added
ddd:stubto manage stubs. - Migration folders across domains will be registered and scanned when running
php artisan migrate, in addition to the standard applicationdatabase/migrationspath. - Ability to customize generator object naming conventions with your own logic using
DDD::resolveObjectSchemaUsing().
Changed
ddd:modelnow extends Laravel's nativemake:modeland inherits all standard options:--migration|-m--factory|-f--seed|-s--controller --resource --requests|-crR--policy-mfsc--all|-a--pivot|-p
ddd:cacheis nowddd:optimize(ddd:cacheis still available as an alias).- Since Laravel 11.27.1, the framework's
optimizeandoptimize:clearcommands will automatically invokeddd:optimize(ddd:cache) andddd:clearrespectively.
Deprecated
- Domain base models are no longer required by default, and
config('ddd.base_model')is nownullby default. - Stubs are no longer published via
php artisan vendor:publish --tag="ddd-stubs". Instead, usephp artisan ddd:stubto manage them.
What's Changed
- [1.2] Official Release by @jaspertey in #77
- Release 1.2 by @jaspertey in #81
Full Changelog: v1.1.3...v1.2.0