PHP Package: contributte/di

A powerful PHP library for dependency injection management in modern applications.

Current Version: 0.5.6
Last Updated: 2023-09-05
PHP Requirement: >=7.1
Dependencies: phpstan/phpstan, nette/di, symfony/dependency-injection
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The contributte/di library provides a robust and flexible solution for handling dependency injection in PHP projects. With extensive features and seamless integration, it streamlines the management of object dependencies, enhancing code modularity and maintainability. This library is a go-to choice for developers seeking efficient dependency management in their applications.

🔗 View on GitHub

Download Latest Version: 0.5.6

Download Download v0.5.6

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php

// Example from PHPlibraries.com
require_once 'libs/contributte/di/0.5.6/autoload.php';

use Contributte\Di\Container;
use Contributte\Di\Exception\InvalidStateException;
use Nette\DI\Container;
use Symfony\Component\DependencyInjection\Container;


$obj = new Contributte\Di\Container();
echo "✅ Example created successfully.";

?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.