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.
Utility to invoke class methods using named parameters
How can I help you explore Laravel packages today?