Packagist · packagist:yiisoft/injector
yiisoft/injector active
PSR-11 compatible injector. Executes a callable and makes an instances by injecting dependencies from a given DI container.
The latest stable version of yiisoft/injector is 1.2.2, published on 2026-10-25. Verified by Vigia on 2026-11-27.
| Latest stable version | 1.2.2 |
|---|---|
| Published | 2026-10-25 19:11:06+00:00 |
| Install | composer require yiisoft/injector |
| Required PHP version (composer.json) | PHP 7.4 - 8.6 |
| License | BSD-3-Clause |
| Advisories on latest version | none known |
| Last verified | 2026-11-27 03:25:42 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-10-25 19:11:06 UTC · 32 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 16 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.2.2 | 2026-10-25 19:11:06 UTC |
1.2.1 | 2025-12-01 11:14:17 UTC |
1.2.0 | 2023-12-20 09:39:03 UTC |
1.1.0 | 2022-07-18 15:18:30 UTC |
1.0.5 | 2022-05-22 14:10:52 UTC |
1.0.4 | 2021-03-10 19:11:37 UTC |
1.0.3 | 2020-11-05 13:37:23 UTC |
1.0.2 | 2020-08-28 11:05:41 UTC |
1.0.1 | 2020-05-17 17:32:28 UTC |
1.0.0 | 2020-05-02 22:32:14 UTC |
0.0.6 | 2020-04-25 09:10:24 UTC |
0.0.5 | 2020-04-17 19:55:09 UTC |
0.0.4 | 2020-04-17 13:17:21 UTC |
0.0.3 | 2020-04-08 08:53:45 UTC |
0.0.2 | 2020-04-04 19:03:04 UTC |
0.0.1 | 2020-03-27 16:21:30 UTC |
Showing the 16 most recent of 16 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 | 1.2.2 |
php 8.0 | 1.2.2 |
php 8.1 | 1.2.2 |
php 8.2 | 1.2.2 |
php 8.3 | 1.2.2 |
php 8.4 | 1.2.2 |
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 yiisoft/injector?
The latest stable version of yiisoft/injector is 1.2.2, published on 2026-10-25. Verified by Vigia on 2026-11-27.
How do I install the latest version of yiisoft/injector?
Run composer require yiisoft/injector. The latest stable version is 1.2.2 (verified 2026-11-27).
Is yiisoft/injector deprecated?
No. yiisoft/injector is not marked as deprecated in the registry.
Which PHP version does yiisoft/injector require?
yiisoft/injector 1.2.2 declares this requirement: PHP 7.4 - 8.6.
Does yiisoft/injector 1.2.2 have known vulnerabilities?
No known advisories affect yiisoft/injector 1.2.2 according to the data Vigia checks.
Is yiisoft/injector still maintained?
yiisoft/injector published 2 stable releases in the last 12 months; the most recent was 32 days ago. Activity: active.
Observed changes
- Mon Oct 26 2026 03:22:46 GM +0000 (Coordinated Universal Time) — released 1.2.1 → 1.2.2
Related packages
- jfcherng/php-sequence-matcher
- cakephp/bake
- jfcherng/php-diff
- outl1ne/nova-translations-loader
- scheb/2fa-google-authenticator
- phrity/websocket
- magento/zend-db
- box/spout
- azure-oss/identity
- wp-cli/wp-config-transformer
- phrity/net-stream
- phiki/phiki
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/yiisoft/injector) [](https://vigia.coredls.cloud/packagist/yiisoft/injector) [](https://vigia.coredls.cloud/packagist/yiisoft/injector)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/yiisoft/injector
GET https://vigia.coredls.cloud/v1/packages/packagist/yiisoft/injector/versions/{version}