webparking/laravel-type-safe-collection
Webparking's Laravel Type-Safe Collection adds strongly typed collections to Laravel. Define the permitted item class once to get runtime type checks, clearer errors, IDE autocompletion, and safer map/filter operations, keeping collection contents predictable and preventing mixed-type bugs.
|
Package
|
Constraint
|
|---|---|
| illuminate/console | ^5.5|^6.0|^7.0|^8.0 |
| illuminate/database | ^5.5|^6.0|^7.0|^8.0 |
| illuminate/support | ^5.5|^6.0|^7.0|^8.0 |
| webmozart/assert | ^1.0 |
|
Package
|
Constraint
|
|---|---|
| friendsofphp/php-cs-fixer | ^2.12 |
| orchestra/database | ^3.5|^4.0|^5.0|dev-6.x |
| orchestra/testbench | ^3.5|^4.0|^5.0|dev-6.x |
| phpstan/phpstan | ^0.12 |
| phpunit/phpunit | ^6.0|^7.0|^8.0 |
How can I help you explore Laravel packages today?