dantleech/invoke
Emulate named arguments in PHP: instantiate classes or call methods by mapping associative array keys to parameter names. Validates required/missing/extra keys and type hints, throwing clear exceptions. Useful for deserialization and config loading.
None
|
Package
|
Constraint
|
|---|---|
| friendsofphp/php-cs-fixer | ^2.13 |
| phpbench/phpbench | ^1.0 |
| phpstan/phpstan | ^0.12.0 |
| phpunit/phpunit | ^8.0 |
How can I help you explore Laravel packages today?