PHPackages                             sparklee/spark-ioc - 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. sparklee/spark-ioc

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

sparklee/spark-ioc
==================

控制反转容器(Inversion of Control Container) .

061

Since Nov 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/SparkLee/SparkIoC)[ Packagist](https://packagist.org/packages/sparklee/spark-ioc)[ RSS](/packages/sparklee-spark-ioc/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

SparkIoC
========

[](#sparkioc)

控制反转容器(Inversion of Control Container)

#### 控制反转容器实现了两种模式：

[](#控制反转容器实现了两种模式)

##### 1、依赖注入模式(Dependency Injection)

[](#1依赖注入模式dependency-injection)

##### 2、服务定位器模式(Service Locator)

[](#2服务定位器模式service-locator)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fddd7ac699783fc7797630fda407a9047df864ee02068193c3c6b6666b230b1?d=identicon)[SparkLee](/maintainers/SparkLee)

---

Top Contributors

[![SparkLee](https://avatars.githubusercontent.com/u/7686363?v=4)](https://github.com/SparkLee "SparkLee (4 commits)")

### Embed Badge

![Health badge](/badges/sparklee-spark-ioc/health.svg)

```
[![Health](https://phpackages.com/badges/sparklee-spark-ioc/health.svg)](https://phpackages.com/packages/sparklee-spark-ioc)
```

###  Alternatives

[sugarcrm/tidbit

Random data generator for Sugar

4525.0k](/packages/sugarcrm-tidbit)[mindtwo/native-enum

Package for using native php enums.

2630.2k1](/packages/mindtwo-native-enum)

PHPackages © 2026

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