PHP Package: php-di/invoker
PHP-DI Invoker is a powerful library for dependency injection and method invocation.
Package Description
PHP-DI Invoker is a PHP library that enables efficient dependency injection and method invocation. It simplifies the process of invoking methods with injected dependencies, making your code more modular and testable. With PHP-DI Invoker, you can easily manage your dependencies and improve the maintainability of your applications.
Download Latest Version: 2.3.7

Previous Versions
Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/php-di/invoker/2.3.7/loader.php';
require_once 'libs/php-di/php-di/7.1.1/loader.php';
use PhpDi\Invoker\Invoker;
use PhpDi\Invoker\ParameterResolver;
$obj = new Invoker();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.