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

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

ryanhs/dependency
=================

very very small dependency class

1.0.1(11y ago)0461MIT LicensePHP

Since Feb 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/ryanhs/dependency)[ Packagist](https://packagist.org/packages/ryanhs/dependency)[ RSS](/packages/ryanhs-dependency/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

Dependency
==========

[](#dependency)

very very small dependency class

maybe you will find it as a joke haha :-)

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

[](#installation)

you can download this with composer (packagist)

```
composer require ryanhs/dependency
```

#### example

[](#example)

```
require 'vendor/autoload.php'; // composer autoload

use \Ryanhs\Dependency\Dependency;

$d = new Dependency;
$d->app = new MyApp();
$d->router = new MyRouter();
$d->controller = new MyController();

$d->app->run();

```

License
=======

[](#license)

MIT License

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

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 ~0 days

Total

2

Last Release

4121d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/997494249252a55820a37685bbbf51402f8582ade5bd73ce5c8776a08761eb67?d=identicon)[dr.web123](/maintainers/dr.web123)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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