PHP Package: contributte/di

Contributte DI is a dependency injection container for PHP applications, providing seamless object creation, configuration, and management.

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

Package Description

Contributte DI is a powerful dependency injection container designed for PHP developers looking to streamline their applications. It simplifies object creation, configuration, and management, allowing for efficient and modular code. With its flexible architecture, Contributte DI enables easy testing, scalability, and maintainability of projects.

📦 Show all available classes🔗 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/loader.php';
require_once 'libs/php-di/php-di/7.0.11/loader.php';
require_once 'libs/symfony/dependency-injection/7.3.0/loader.php';

use Contributte\DI\Container;
use PHP-DI\Container;
use Symfony\Component\DependencyInjection\Container;

$obj = new Container();
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.