PHPackages                             shalvah/syringe - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. shalvah/syringe

AbandonedArchivedLibrary[PSR &amp; Standards](/categories/psr-standards)

shalvah/syringe
===============

Small dependency injection container for PHP

1.3(9y ago)78[1 issues](https://github.com/shalvah/syringe/issues)MITPHPPHP &gt;=7.0

Since May 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/shalvah/syringe)[ Packagist](https://packagist.org/packages/shalvah/syringe)[ Docs](http://shalvah.me/syringe)[ RSS](/packages/shalvah-syringe/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Syringe
=======

[](#syringe)

[![Latest Stable Version](https://camo.githubusercontent.com/92a5a50c76ef6ce6d5d58706ff793fff8d0b04c408b1e76cd39e618060898165/68747470733a2f2f706f7365722e707567782e6f72672f7368616c7661682f737972696e67652f762f737461626c65)](https://packagist.org/packages/shalvah/syringe) [![Total Downloads](https://camo.githubusercontent.com/cccff2e219a244de075eb6770019a39a0127ae39706a0f6bea2b051428a25833/68747470733a2f2f706f7365722e707567782e6f72672f7368616c7661682f737972696e67652f646f776e6c6f616473)](https://packagist.org/packages/shalvah/syringe) [![License](https://camo.githubusercontent.com/be4e0adf39d65c1b6ea146edd521a029c4940c8690b5be5847b3e5acc2408255/68747470733a2f2f706f7365722e707567782e6f72672f7368616c7661682f737972696e67652f6c6963656e7365)](https://packagist.org/packages/shalvah/syringe)

Simple PSR-11 compliant PHP dependency injection container

Documentation
=============

[](#documentation)

[Full documentation](http://shalvah.github.io/syringe)

Installation
============

[](#installation)

```
composer require shalvah/syringe
```

Setup
=====

[](#setup)

- Clone the repository

```
git clone https://github.com/shalvah/syringe
```

- Install dependencies

```
composer install
```

- Run tests

```
./vendor/bin/phpunit tests
# on Windows: vendor\bin\phpunit tests
```

API Documentation
=================

[](#api-documentation)

View API documentation [here](http://shalvah.me/syringe/api)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~2 days

Total

3

Last Release

3327d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

dependency-injectionoopphpphp7servicessolid-principlesphpcontainerdependency-injectionioc

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shalvah-syringe/health.svg)

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

###  Alternatives

[php-di/php-di

The dependency injection container for humans

2.8k53.2M1.2k](/packages/php-di-php-di)[capsule/di

A PSR-11 compliant autowiring dependency injection container.

2859.2k2](/packages/capsule-di)

PHPackages © 2026

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