[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1109633: ITP: php-psr-container -- Common container interface (PSR-11) for PHP



Package: wnpp
Severity: wishlist
Owner: Ahmed Gamal <ahmed.gamal9541@gmail.com>

* Package name    : php-psr-container
  Version         : 1.1.2
  Upstream Author : PHP-FIG <http://www.php-fig.org/>
* URL             : https://github.com/php-fig/container
* License         : MIT
  Programming Lang: PHP
  Section         : php

Description:
 Common container interface (PSR-11) for PHP

 This package provides the standard PSR-11 container interface for PHP. It defines
 a common interface for dependency injection containers, allowing libraries and
 frameworks to interoperate with any container implementation that follows the
 PSR-11 specification.

 The package contains the standard interfaces for retrieving objects and parameters
 from a container, ensuring interoperability and flexibility in PHP applications.

Rationale:
 This package is required as a dependency for FOSSology, an open source license
 compliance system. FOSSology uses PHP-based tools for source code analysis and
 license detection, which rely on the PSR-11 container interface for managing
 dependencies and service objects in a consistent and maintainable way.

 The php-psr-container package is essential for:
 - Providing a standardized container interface for FOSSology components
 - Ensuring interoperability with PSR-11 compliant libraries and frameworks
 - Supporting dependency injection and service management in FOSSology
 - Promoting modular and maintainable code architecture
 - Enabling consistent dependency retrieval across different implementations

Technical Details:
 - Requires PHP >= 5.3.0
 - Implements PSR-11 container interface specification
 - Uses PSR-4 autoloading
 - Provides interfaces for container interoperability
 - MIT licensed for maximum compatibility
 - Part of the PHP-FIG standards recommendations

Dependencies:
 - php (>= 5.3.0)
 - Build dependencies: phpunit, php-codesniffer

The package will be maintained by Ahmed Gamal <ahmed.gamal9541@gmail.com> as part
of the FOSSology packaging effort.

--
Ahmed Gamal
FOSSology Debian Packaging Team

Reply to: