PHP Package: nette/di

Nette DI is a powerful dependency injection container for PHP applications, providing easy and flexible dependency management.

Current Version: 3.2.4
Last Updated: 2025-01-10
PHP Requirement: 8.1 - 8.4
Dependencies:
nette/utils
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Nette DI is a robust and feature-rich dependency injection container designed to enhance the modularity and testability of PHP applications. By promoting loose coupling and reusability, it simplifies the process of managing object dependencies. With its intuitive API, Nette DI offers seamless integration and efficient configuration options, making it a popular choice for developers seeking scalable and maintainable codebases.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.2.4

Download Download v3.2.4

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/nette/di/3.2.4/loader.php';
require_once 'libs/nette/utils/4.0.7/loader.php';

use Nette\DI\Container;
use Nette\DI\Compiler;

$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.