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.
✅ Consider when:
❌ Avoid when:
How can I help you explore Laravel packages today?