Packagist · packagist:league/container
league/container active
A fast and intuitive dependency injection container.
The latest stable version of league/container is 5.2.0, published on 2026-03-19. Verified by Vigia on 2026-11-27.
| Latest stable version | 5.2.0 |
|---|---|
| Published | 2026-03-19 18:52:39+00:00 |
| Install | composer require league/container |
| Required PHP version (composer.json) | PHP ^8.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-27 03:03:04 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the packagist package "league/container", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/packagist/league/container . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2026-03-19 18:52:39 UTC · 252 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 46 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
5.2.0 | 2026-03-19 18:52:39 UTC |
5.1.0 | 2025-05-28 07:37:56 UTC |
4.2.5 | 2025-05-20 12:55:37 UTC |
5.0.1 | 2025-03-27 09:31:16 UTC |
5.0.0 | 2025-03-27 09:26:45 UTC |
4.2.4 | 2024-11-10 12:42:13 UTC |
4.2.3 | 2024-10-23 12:06:58 UTC |
4.2.2 | 2024-03-13 13:12:53 UTC |
4.2.1 | 2024-03-13 11:04:59 UTC |
4.2.0 | 2021-11-16 10:29:06 UTC |
4.1.2 | 2021-07-26 07:04:36 UTC |
4.1.1 | 2021-07-09 13:39:47 UTC |
4.1.0 | 2021-07-09 09:27:22 UTC |
3.4.1 | 2021-07-09 08:23:52 UTC |
4.0.0 | 2021-07-09 07:38:37 UTC |
3.4.0 | 2021-07-09 07:21:07 UTC |
3.3.5 | 2021-03-16 09:42:56 UTC |
3.3.4 | 2021-02-22 10:35:05 UTC |
2.5.0 | 2021-02-22 09:20:06 UTC |
3.3.3 | 2020-09-28 13:38:44 UTC |
Showing the 20 most recent of 46 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 4.2.5 |
php 8.0 | 4.2.5 |
php 8.1 | 5.2.0 |
php 8.2 | 5.2.0 |
php 8.3 | 5.2.0 |
php 8.4 | 5.2.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of league/container?
The latest stable version of league/container is 5.2.0, published on 2026-03-19. Verified by Vigia on 2026-11-27.
How do I install the latest version of league/container?
Run composer require league/container. The latest stable version is 5.2.0 (verified 2026-11-27).
Is league/container deprecated?
No. league/container is not marked as deprecated in the registry.
Which PHP version does league/container require?
league/container 5.2.0 declares this requirement: PHP ^8.1.
Does league/container 5.2.0 have known vulnerabilities?
No known advisories affect league/container 5.2.0 according to the data Vigia checks.
Is league/container still maintained?
league/container published 1 stable releases in the last 12 months; the most recent was 252 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- php-webdriver/webdriver
- yoast/phpunit-polyfills
- friendsofphp/proxy-manager-lts
- laravel/octane
- dnoegel/php-xdg-base-dir
- jetbrains/phpstorm-stubs
- felixfbecker/language-server-protocol
- twig/intl-extra
- illuminate/collections
- dedoc/scramble
- phpspec/prophecy
- php-debugbar/symfony-bridge
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/league/container) [](https://vigia.coredls.cloud/packagist/league/container) [](https://vigia.coredls.cloud/packagist/league/container)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/league/container
GET https://vigia.coredls.cloud/v1/packages/packagist/league/container/versions/{version}