v-dem/queasy-container

PSR-11 container implementation, part of QuEasy PHP framework

v1.0.0 2025-08-27 08:28 UTC

This package is auto-updated.

Last update: 2025-08-27 10:56:01 UTC


README

Total Downloads Latest Stable Version License

QuEasy PHP Framework - Service Container

Package v-dem/queasy-container

Lightweight implementation of PSR-11 Container Interface

Requirements

  • PHP version 5.3 or higher

Installation

composer require v-dem/queasy-container

Usage

Initialization

$container = new queasy\container\ServiceContainer([
    'logger' => function($container) {
        return new queasy\log\Logger([
            'path' => __DIR__ . '/logs/debug.log'
        ]);
    }
]);

$container->logger->debug('Test');