PHPackages                             clearswitch/doraemon-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. [Framework](/categories/framework)
4. /
5. clearswitch/doraemon-ioc

ActiveLibrary[Framework](/categories/framework)

clearswitch/doraemon-ioc
========================

dependency injection(依赖注入) ioc

0.0.1(3y ago)0601MITPHP

Since Mar 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ClearSwicth/Doraemon-Ioc)[ Packagist](https://packagist.org/packages/clearswitch/doraemon-ioc)[ RSS](/packages/clearswitch-doraemon-ioc/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

DoraemonIoc
===========

[](#doraemonioc)

dependency injection(依赖注入)

[![image](https://github.com/ClearSwicth/icon/raw/master/img/doraemon.jpeg?raw=true)](https://github.com/ClearSwicth/icon/blob/master/img/doraemon.jpeg?raw=true)

```
use Clearswitch\DoraemonIoc\Container;
/**
 * 注册服务
 * @param1:给绑定服务起的别名
 * @param2:具体类的路径，也可以是回掉函数
 */

 Container::bind("test","test.php");

 /**
 * 使用
 */

 Container::make("test");

 /**
 * 当然你也可以直接绑定和是使用放在一起
 */

 Container::make("test",'test,php');
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1153d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47359?v=4)[The Apache Software Foundation](/maintainers/Apache)[@apache](https://github.com/apache)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/clearswitch-doraemon-ioc/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M190](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M256](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M591](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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