PHPackages                             dhii/factory-interface - 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. dhii/factory-interface

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

dhii/factory-interface
======================

Interfaces for working with factories.

v0.1(7y ago)022.1k↑433.3%[2 issues](https://github.com/Dhii/factory-interface/issues)16MITPHPPHP ^5.3 | ^7.0

Since Mar 6Pushed 5y ago3 watchersCompare

[ Source](https://github.com/Dhii/factory-interface)[ Packagist](https://packagist.org/packages/dhii/factory-interface)[ RSS](/packages/dhii-factory-interface/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (6)Used By (16)

\[DEPRECATED\] Dhii - Factory Interface
=======================================

[](#deprecated-dhii---factory-interface)

[![Build Status](https://camo.githubusercontent.com/7c1acb4858e7f1a2075bbc143afb323d219462069056a7ba77d6a7618ed7f656/68747470733a2f2f7472617669732d63692e6f72672f446869692f666163746f72792d696e746572666163652e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/Dhii/factory-interface)[![Code Climate](https://camo.githubusercontent.com/85dfea2335b494fe60b78874c6967c6ba6a53730b10a053a1eec5365812bf9ff/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f666163746f72792d696e746572666163652f6261646765732f6770612e737667)](https://codeclimate.com/github/Dhii/factory-interface)[![Latest Stable Version](https://camo.githubusercontent.com/f08b5ec7d4bb11f34e697734e46360e52e0a3680379357d15329d1e43ef332d7/68747470733a2f2f706f7365722e707567782e6f72672f646869692f666163746f72792d696e746572666163652f76657273696f6e)](https://packagist.org/packages/dhii/factory-interface)[![This package complies with Dhii standards](https://camo.githubusercontent.com/44bbe8c7678c1784cfc53cabce5d3e32fc22a840453c5ed9c08601522fe7c213/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446869692d436f6d706c69616e742d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Dhii/dhii)

Interfaces for working with factories.

Interfaces
----------

[](#interfaces)

- [`FactoryInterface`](src/FactoryInterface.php) - Creates things.
- [`DataObjectFactoryInterface`](src/DataObjectFactoryInterface.php) - Creates data objects.
- [`FactoryFactoryInterface`](src/FactoryFactoryInterface.php) - Creates factories. For example, could create a factory from a callback or an FQN.
- [`FactoryAwareInterface`](src/FactoryAwareInterface.php) - Exposes a factory.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.5% 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 ~58 days

Total

4

Last Release

2819d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1894e91b32c9f80d8f30a42d360af6983a507f1cf2c621b7c9a0a0de14e011c5?d=identicon)[XedinUnknown](/maintainers/XedinUnknown)

---

Top Contributors

[![XedinUnknown](https://avatars.githubusercontent.com/u/1428973?v=4)](https://github.com/XedinUnknown "XedinUnknown (53 commits)")[![mecha](https://avatars.githubusercontent.com/u/5425482?v=4)](https://github.com/mecha "mecha (9 commits)")

---

Tags

factorystandard

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dhii-factory-interface/health.svg)

```
[![Health](https://phpackages.com/badges/dhii-factory-interface/health.svg)](https://phpackages.com/packages/dhii-factory-interface)
```

###  Alternatives

[corviz/br-gpdpl

A lib that provides a series of data anonymizers, compliant with brazilian General Personal Data Protection Law (aka LGPD, in pt-br)

1613.6k](/packages/corviz-br-gpdpl)

PHPackages © 2026

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