Skip to content

thephpleague/container

4.x
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 9, 2021 19:23
November 16, 2021 10:29
October 30, 2021 17:36
February 22, 2021 16:17
May 18, 2020 09:28
November 16, 2021 10:29
July 9, 2021 08:38
May 18, 2020 09:28
February 22, 2021 08:01
February 22, 2021 07:57
February 22, 2021 07:57

Container (Dependency Injection)

Author Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

This package is compliant with PSR-1, PSR-2, PSR-12, PSR-4 and PSR-11. If you notice compliance oversights, please send a patch via pull request.

Install

Via Composer

$ composer require league/container

Requirements

The following versions of PHP are supported by this version.

  • PHP 7.2
  • PHP 7.3
  • PHP 7.4

Documentation

Container has full documentation, powered by Jekyll.

Contribute to this documentation in the docs/ sub-directory.

Testing

Testing includes PHPUnit and PHPStan (Level 7).

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email philipobenito@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.