PHPackages                             mattferris/component - 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. mattferris/component

ActiveLibrary

mattferris/component
====================

An application component interface

1.0(9y ago)0166↑2900%2BSD-2-ClausePHP

Since Jan 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mattferris/component)[ Packagist](https://packagist.org/packages/mattferris/component)[ RSS](/packages/mattferris-component/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (2)

Component
=========

[](#component)

```
composer require mattferris/component

```

Defines a standard interface for application components. It is used primarily by [mattferris/application](https://github.com/mattferris/application) to define application components for bootloading.

```
namespace My\Namespace;

use MattFerris\ComponentInterface;

class MyComponent implements ComponentInterface
{
    /**
     * Perform any component intialization tasks
     */
    public function init()
    {
        // ...
    }

    /**
     * Load the component
     */
    public function load()
    {
        // ...
    }
}
```

Components may define constructors to gather any hard dependencies. `init()`should prepare component resources, while `load()` should complete any final tasks to make the component live.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

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

Unknown

Total

1

Last Release

3417d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d3d46e7fdc93a3d67119773bdae779e281a87f2d70e95568a969c72205aedf7?d=identicon)[mattferris](/maintainers/mattferris)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mattferris-component/health.svg)

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

PHPackages © 2026

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