PHPackages                             bigcommerce/injector - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bigcommerce/injector

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bigcommerce/injector
====================

Container interop Dependency Injector.

5.0.6(3w ago)288.8k↑175%6[6 PRs](https://github.com/bigcommerce/injector/pulls)1MITPHPPHP ^8.2CI failing

Since Dec 13Pushed 3w ago116 watchersCompare

[ Source](https://github.com/bigcommerce/injector)[ Packagist](https://packagist.org/packages/bigcommerce/injector)[ RSS](/packages/bigcommerce-injector/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (24)Versions (42)Used By (1)

bigcommerce/injector
====================

[](#bigcommerceinjector)

Dependency Injector component built on top of Pimple container.

- Also includes an AutoWiring ServiceProvider.

Local development
-----------------

[](#local-development)

### PhpStan

[](#phpstan)

To check your code with [phpstan](https://phpstan.org/), run `script/phpstan`.

**Remove errors from baseline:**While changing the code you might see the following error from the PhpStan

```
Ignored error pattern #.... was not matched in reported errors.

```

This means that the error is [no longer present](https://phpstan.org/user-guide/ignoring-errors#reporting-unused-ignores) in the code, so you can remove it from the baseline file. To do so, run `./vendor/bin/phpstan --generate-baseline=.phpstan/baseline.neon` and commit the changes.

License
-------

[](#license)

(The MIT License) Copyright (C) 2015-2017 BigCommerce Inc. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

65

—

FairBetter than 99% of packages

Maintenance94

Actively maintained with recent releases

Popularity35

Limited adoption so far

Community29

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~123 days

Recently: every ~58 days

Total

29

Last Release

26d ago

Major Versions

1.0.2 → 2.02017-01-14

2.1.1 → 3.0.02023-05-25

3.0.0 → 4.0.02024-06-21

4.1.2 → 5.0.02025-06-23

4.1.3 → 5.0.12025-09-07

PHP version history (6 changes)1.0PHP ^7.0

2.0.2PHP &gt;=5.6

2.0.9PHP ^7.3

v2.1.0PHP ^7.3 || ^8.0

4.0.0PHP ^8.1

5.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/da7f64306e4b36d82d5e81b519828b19f6d55861138349f51fa86b6d8239f773?d=identicon)[bigcommerce](/maintainers/bigcommerce)

---

Top Contributors

[![TomA-R](https://avatars.githubusercontent.com/u/1606901?v=4)](https://github.com/TomA-R "TomA-R (44 commits)")[![bc-luke](https://avatars.githubusercontent.com/u/2160087?v=4)](https://github.com/bc-luke "bc-luke (18 commits)")[![repzy](https://avatars.githubusercontent.com/u/8057340?v=4)](https://github.com/repzy "repzy (8 commits)")[![PascalZajac](https://avatars.githubusercontent.com/u/813373?v=4)](https://github.com/PascalZajac "PascalZajac (6 commits)")[![precariouspanther](https://avatars.githubusercontent.com/u/1628237?v=4)](https://github.com/precariouspanther "precariouspanther (6 commits)")[![petrkotek](https://avatars.githubusercontent.com/u/5679032?v=4)](https://github.com/petrkotek "petrkotek (2 commits)")[![bc-vincent-zhao](https://avatars.githubusercontent.com/u/2160148?v=4)](https://github.com/bc-vincent-zhao "bc-vincent-zhao (2 commits)")[![funivan](https://avatars.githubusercontent.com/u/425208?v=4)](https://github.com/funivan "funivan (1 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

dipimpleinjector

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bigcommerce-injector/health.svg)

```
[![Health](https://phpackages.com/badges/bigcommerce-injector/health.svg)](https://phpackages.com/packages/bigcommerce-injector)
```

###  Alternatives

[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k455.6M9.6k](/packages/symfony-dependency-injection)[illuminate/contracts

The Illuminate Contracts package.

706130.3M13.3k](/packages/illuminate-contracts)[illuminate/container

The Illuminate Container package.

31182.0M2.4k](/packages/illuminate-container)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k53](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

5.1k5.2k](/packages/shlinkio-shlink)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
