jessarcher/laravel-castable-data-transfer-object
A Laravel package that lets Eloquent models cast attributes directly to data transfer objects, keeping structured data typed and clean while handling JSON serialization automatically. Ideal for replacing loose arrays with explicit DTO classes.
|
Package
|
Constraint
|
|---|---|
| illuminate/contracts | ^8.0|^9.0|^10.0 |
| spatie/data-transfer-object | ^3.0.4 |
| thecodingmachine/safe | ^1.3|^2.0 |
|
Package
|
Constraint
|
|---|---|
| brianium/paratest | ^6.2 |
| mockery/mockery | ^1.4 |
| nunomaduro/collision | ^5.3|^6.0 |
| orchestra/testbench | ^6.15|^7.0|^8.0 |
| phpunit/phpunit | ^9.5 |
| vimeo/psalm | ^4.4|^5.6 |
How can I help you explore Laravel packages today?