PHP Package: psr-discovery/container-implementations

A PHP library offering various implementations for container management, supporting PSR standards and enhancing dependency injection functionality.

Current Version: 1.2.0
Last Updated: 2024-12-05
PHP Requirement: ^8.2
Dependencies:
php-fig/container
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Discover a range of container implementations in PHP with this versatile library, designed to streamline dependency management and adhere to PSR standards. Whether you need a singleton container, delegate lookup, or a customizable container interface, this library provides a robust solution. Embrace modular and maintainable code with these container implementations, ensuring flexibility and scalability in your projects.

🔗 View on GitHub

Download Latest Version: 1.2.0

Download Download v1.2.0

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/psr-discovery/container-implementations/1.2.0/loader.php';
require_once 'libs/php-fig/container/{lib_version}/loader.php';

use Psr\Discovery\ContainerImplementations\SingletonContainer;
use Psr\Discovery\ContainerImplementations\DelegateContainer;

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