PHPackages                             indigophp/fuel-dependency - 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. indigophp/fuel-dependency

AbandonedArchivedFuel-package[Utility &amp; Helpers](/categories/utility)

indigophp/fuel-dependency
=========================

Provides a backport of v2 dependency library

082PHP

Since Oct 9Pushed 11y ago1 watchersCompare

[ Source](https://github.com/indigophp-archive/fuel-dependency)[ Packagist](https://packagist.org/packages/indigophp/fuel-dependency)[ RSS](/packages/indigophp-fuel-dependency/feed)WikiDiscussions develop Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Fuel Dependency
===============

[](#fuel-dependency)

[![Packagist Version](https://camo.githubusercontent.com/4b8ceec34588dff7219608b8789f3a3d5fc87dbd7abf4f5ff509bf2a8a7df046/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e6469676f7068702f6675656c2d646570656e64656e63792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/indigophp/fuel-dependency)[![Total Downloads](https://camo.githubusercontent.com/70526542f11b5211e3aec39ddee7591d35bbafcbd55f2ab0d445be3d6e5c1b5d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e6469676f7068702f6675656c2d646570656e64656e63792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/indigophp/fuel-dependency)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

**This package is a wrapper around [fuelphp/dependency](https://github.com/fuelphp/dependency) package.**

Install
-------

[](#install)

Via Composer

```
{
    "require": {
        "indigophp/fuel-dependency": "@stable"
    }
}
```

Usage
-----

[](#usage)

Let's make this clear: this is pretty much an anti-pattern.

This package backports the v2 Dependency Container and makes it usable the old way. The main purpose of this project is to help developers moving their applications from v1 to v2 by preparing them with service providers, etc. However the static, but not fully stateless logic that is used in v1 (and used by this library) is not real Dependency Injection.

**IMPORTANT:** DC lives inside fuel scope. This means you should not mix it with PSR autoloading. Always use it inside fuel.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/indigophp/fuel-dependency/blob/develop/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Márk Sági-Kazár](https://github.com/sagikazarmark)
- [All Contributors](https://github.com/indigophp/fuel-dependency/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/indigophp/fuel-dependency/blob/develop/LICENSE) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

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/0e4e105cea62b616d4cb376b08a849b6a428f646998537de150d16a8eb537b90?d=identicon)[mark.sagikazar](/maintainers/mark.sagikazar)

![](https://www.gravatar.com/avatar/1585b5a08e138e348f5b646231d0f16cb2eae06501fb9462bbc97a794d4de84a?d=identicon)[TamasBarta](/maintainers/TamasBarta)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/indigophp-fuel-dependency/health.svg)

```
[![Health](https://phpackages.com/badges/indigophp-fuel-dependency/health.svg)](https://phpackages.com/packages/indigophp-fuel-dependency)
```

###  Alternatives

[symfony/workflow

Provides tools for managing a workflow or finite state machine

62842.3M170](/packages/symfony-workflow)[stubbles/core

103.4k1](/packages/stubbles-core)

PHPackages © 2026

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