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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sanmai/di-container | 0.79 | A straightforward PSR-11 dependency injection container with zero-configuration autowiring. It resolves constructor dependencies via reflection, reuses created objects, maps interfaces to concrete implementations, and supports builder objects for complex construction. | 7 | 7 | 4 | 1M | 0 | 24.2 | 63.6 | BSD-3-Clause | 2 months ago | |
| symplify/autowire-array-parameter | 0.77 | Automatically inject array parameters into PHP services with minimal configuration. Symplify Autowire Array Parameter resolves array constructor arguments from container config, reducing boilerplate and making service wiring cleaner in Symfony/Laravel-style DI setups. | 0 | 62 | — | 4K | — | 0.0 | 49.6 | — | — | |
| opis/json-schema | 0.75 | Opis JSON Schema validates JSON documents against JSON Schema drafts 2020-12 to 06. Includes custom errors, PHP filters, schema reuse/mappers, slots, pointers, URI templates, $data, casting, and custom formats/media types. | 663 | 669 | 71 | 5M | 16 | 16.0 | 59.2 | Apache-2.0 | 1 year ago | |
| php-di/php-di | 0.75 | PHP-DI is a practical, powerful, framework-agnostic dependency injection container for PHP. It helps manage services and wiring with autowiring and flexible configuration, making applications easier to build, test, and maintain across any framework. | 2,772 | 2,855 | 320 | 4M | 56 | 49.2 | 64.3 | MIT | 1 year ago | |
| nette/schema | 0.74 | Nette Schema is a lightweight PHP library for validating and normalizing structured data. Define schemas to check arrays and objects, coerce values, and generate clear error messages for configs, APIs, and form input. | 1,011 | 1,017 | 32 | 19M | 1 | 30.6 | 64.6 | NOASSERTION | 2 weeks ago | |
| danog/advanced-json-rpc | 0.74 | PHP JSON-RPC 2.0 dispatcher with request/response helpers. Decodes JSON-RPC calls and invokes target methods, coercing params via type hints and @param docs. Supports nested targets (configurable delimiter like "->" or "/"). | 16 | 15 | 3 | 1M | 0 | 0.8 | 56.8 | ISC | — | |
| spatie/invade | 0.68 | Spatie's invade function lets you read, write, and call private properties and methods of any PHP object, including static ones, through a simple proxy—handy for testing or working with legacy code. | 341 | 343 | 20 | 7M | 0 | 24.7 | 64.6 | MIT | 2 weeks ago | |
| pragmarx/ia-arr | 0.67 | Illuminate\Support\Arr extracted from Laravel, repackaged as a framework-agnostic PHP library. Provides the full set of Arr helpers under the IlluminateAgnostic\Arr namespace to avoid conflicts, usable in any project (including Laravel). | 55 | 55 | 21 | 34K | 0 | 1.3 | 38.5 | MIT | 2 years ago | |
| baks-dev/services | 0.66 | — | 0 | 0 | 2 | 0 | 0 | 17.5 | — | MIT | 4 months ago | |
| anahkiasen/underscore-php | 0.66 | Underscore.php brings functional helpers to PHP inspired by Underscore.js. Chainable, collection and array utilities like map, filter, reduce, groupBy, sortBy, pluck, and more. Handy for concise data manipulation in any PHP project, including Laravel. | 1,107 | 1,108 | 87 | 28K | 29 | 8.7 | 21.9 | — | — | |
| aurexengine/framework | 0.66 | Custom Chassis Framework (aurexengine/framework) is a Laravel/PHP framework package providing a chassis-style foundation for building applications and modules. Intended as a base layer for project structure, shared conventions, and core utilities. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| laragraph/utils | 0.66 | Utilities for using GraphQL with Laravel, providing the basic building blocks for GraphQL servers. Use with Lighthouse for SDL-first or graphql-laravel for code-first development. | 22 | 22 | 8 | 674K | 0 | 24.8 | 64.7 | MIT | 3 weeks ago | |
| digitalrevolution/utils | 0.65 | A PHP 8.3+ utility library of everyday helper classes, focused on array operations such as first/last, find, flatten, map, groupBy, diff, unique, remove, JSON conversion, and path fetching, plus iterable and string helpers. | 2 | 1 | 8 | 2K | 1 | 29.0 | 46.8 | MIT | 3 weeks ago | |
| cartalyst/support | 0.65 | Common support utilities for Cartalyst PHP/Laravel packages: helpers, contracts, traits, service providers, and base classes that streamline package development and shared functionality across components. | 75 | 76 | 16 | 32K | 1 | 7.0 | 36.3 | BSD-3-Clause | 1 year ago | |
| da/di-bundle | 0.59 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| spatie/macroable | 0.59 | Add methods to any class at runtime with Spatie’s Macroable trait. Register macros with closures or callables and call them like native methods; macros are bound to the class instance for access to $this. Inspired by Laravel’s Macroable implementation. | 731 | 740 | 24 | 3M | 0 | 10.5 | 50.9 | MIT | 9 months ago | |
| aimeos/macro | 0.57 | aimeos/macro is a lightweight PHP macro/extension library that lets you add methods at runtime and extend objects and classes without inheritance. Handy for creating fluent APIs, plugin-style features, and flexible customization in Laravel or any PHP project. | 2,438 | 2,435 | 1 | 6K | 0 | 12.2 | 7.5 | MIT | — | |
| dinecat/smart-routing-bundle | 0.57 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| kahlan/kahlan | 0.57 | Kahlan is a full-featured PHP unit and BDD test framework with an RSpec-style describe-it syntax. It offers built-in stubbing and monkey patching without PECL extensions, plus code coverage and multiple reporters. | 1,146 | 1,150 | 70 | 24K | 7 | 32.8 | 24.2 | MIT | 3 weeks ago | |
| sami/sami | 0.57 | Sami is an API documentation generator for PHP. It analyzes your codebase and builds clean, searchable docs from source and DocBlocks. Ideal for libraries and frameworks, with flexible configuration, theming, and support for versioned documentation. | 1,959 | 2,044 | 280 | 2K | 0 | 9.1 | 3.3 | MIT | — |
How can I help you explore Laravel packages today?