Repository navigation
Releases
v13.0.0
Laravel Architecture 13.x: Actions, Tasks, Services, typed Data objects and Contexts for Laravel 13.
Requirements
| Version | |
|---|---|
| PHP | 8.3, 8.4, 8.5 |
| Laravel | 13.0+ |
13.x supports Laravel 13 on PHP 8.3, 8.4 and 8.5.
Compatibility
- Laravel 13.0+ on PHP 8.3, 8.4 and 8.5.
- The same API, generators and behavior as 12.0.0.
Full Changelog: 12.0.0...13.0.0
v12.0.0
Laravel Architecture 12.x: Actions, Tasks, Services, typed Data objects and Contexts for Laravel 12.
Requirements
| Version | |
|---|---|
| PHP | 8.2, 8.3, 8.4, 8.5 |
| Laravel | 12.0+ |
12.x supports Laravel 12 on PHP 8.2, 8.3, 8.4 and 8.5.
Compatibility
- Laravel 12.0+ on PHP 8.2, 8.3, 8.4 and 8.5.
- The same API, generators and behavior as 11.0.0.
Full Changelog: 11.0.0...12.0.0
v11.0.0
Laravel Architecture 11.x: Actions, Tasks, Services, typed Data objects and Contexts for Laravel 11.
Requirements
| Version | |
|---|---|
| PHP | 8.2, 8.3, 8.4 |
| Laravel | 11.0+ |
11.x supports Laravel 11 on PHP 8.2, 8.3 and 8.4.
Compatibility
- Laravel 11.0+ on PHP 8.2, 8.3 and 8.4.
- The same API, generators and behavior as 10.0.0.
Full Changelog: 10.0.0...11.0.0
v10.0.0
Laravel Architecture 10.x: Actions, Tasks, Services, typed Data objects and Contexts for Laravel 10.
Requirements
| Version | |
|---|---|
| PHP | 8.1, 8.2, 8.3 |
| Laravel | 10.0+ |
10.x supports Laravel 10 on PHP 8.1, 8.2 and 8.3.
Compatibility
- Laravel 10.0+ on PHP 8.1, 8.2 and 8.3.
- The same API, generators and behavior as 9.0.0.
Added
- AI ready: Laravel Boost resources, a guideline (
resources/boost/guidelines/core.blade.php) and anarchitecture-developmentskill, installed withphp artisan boost:install.
Full Changelog: 9.0.0...10.0.0
v9.0.0
Laravel Architecture 9.x: Actions, Tasks, Services, typed Data objects and Contexts for Laravel 9.
Requirements
| Version | |
|---|---|
| PHP | 8.0, 8.1, 8.2 |
| Laravel | 9.33+ |
9.x supports Laravel 9 on PHP 8.0, 8.1 and 8.2.
Compatibility
- Laravel 9.33+ on PHP 8.0, 8.1 and 8.2: 9.33 is the first Laravel 9 release that requires a Carbon release working on PHP 8.2.
- The same API, generators and behavior as 8.0.0.
Full Changelog: 8.0.0...9.0.0
v8.0.0
Laravel Architecture 8.x: Actions, Tasks, Services, typed Data objects and Contexts for Laravel 8.
Requirements
| Version | |
|---|---|
| PHP | 8.0, 8.1 |
| Laravel | 8.75+ |
8.x supports Laravel 8 on PHP 8.0 and 8.1.
Compatibility
- Laravel 8.75+ on PHP 8.0 and 8.1.
- The same API, generators and behavior as 7.0.0.
Full Changelog: 7.0.0...8.0.0
v7.0.0
Laravel Architecture 7.x: Actions, Tasks, Services, typed Data objects and Contexts for Laravel 7.
Requirements
| Version | |
|---|---|
| PHP | 8.0 |
| Laravel | 7.30+ |
7.x supports Laravel 7 on PHP 8.0.
Compatibility
- Laravel 7.30+ on PHP 8.0.
- The same API, generators and behavior as 6.0.0.
- The test suite runs on Pest.
Full Changelog: 6.0.0...7.0.0
v6.0.0
Laravel Architecture 6.x: Actions, Tasks, Services, typed Data objects and Contexts for Laravel 6.
Requirements
| Version | |
|---|---|
| PHP | 8.0 |
| Laravel | 6.20+ |
Added
Action,TaskandServicebase classes withmake(), which resolves the class through the container with named constructor overrides.ActionandTaskare invokable:__invoke()forwards to the class's own publichandle().Action::tasks(), which sends a payload through Laravel's pipeline (class names, parameterized pipe strings, instances, closures and invokable objects).Data:fromArray(),fromRequest()(validated input of a FormRequest, all input otherwise),fromModel(),toArray(),toJson(),jsonSerialize()andwith(). Hydration goes through the constructor with strict types, nested Data and theDataCollection,MapNameandHiddenattributes.Context, an empty base class for explicit execution state.make:action,make:task(--pipeline),make:service(--business,--integration,--boundary),make:dataandmake:context, with--pathand--force. The namespace comes from the application'scomposer.jsonPSR-4 mapping. Stubs are published tostubs/architecture(tagspharaonic,laravel-architecture,pharaonic-stubs,architecture-stubs).
Full Changelog: https://github.com/Pharaonic/laravel-architecture/commits/6.0.0