PHPackages                             baddum/factory418 - 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. baddum/factory418

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

baddum/factory418
=================

A trait to easily create factory

v1.2.0(11y ago)126MITPHPPHP &gt;=5.4.0

Since Feb 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Baddum/Factory418)[ Packagist](https://packagist.org/packages/baddum/factory418)[ Docs](https://github.com/Baddum/Factory418)[ RSS](/packages/baddum-factory418/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

Factory418
==========

[](#factory418)

[![Latest Stable Version](https://camo.githubusercontent.com/f8c8e20c2031863cf3026bc9924939bafbd41a84e882eb1b4bc7821945f07b6f/68747470733a2f2f706f7365722e707567782e6f72672f62616464756d2f666163746f72793431382f762f737461626c652e737667)](https://github.com/Baddum/Factory418)[![Build Status](https://camo.githubusercontent.com/80e99b621e27b0b67ce0a7993005dc8b4a5587836fcf6a88c8326316ee58bd4b/68747470733a2f2f7472617669732d63692e6f72672f42616464756d2f466163746f72793431382e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/Baddum/Factory418)[![Style Checking](https://camo.githubusercontent.com/51304642198e791098de6020b3664f9d16366d22ff6bed5cd7708ad7435d7a28/68747470733a2f2f7374796c6563692e696f2f7265706f732f33313236333531322f736869656c64)](https://styleci.io/repos/31263512)[![Total Downloads](https://camo.githubusercontent.com/641981e13e57ddb2f77e77d7fd336ee5481f7c2722e72000aca9e1066b6ef068/68747470733a2f2f706f7365722e707567782e6f72672f62616464756d2f666163746f72793431382f646f776e6c6f6164732e737667)](https://packagist.org/packages/baddum/factory418)[![License](https://camo.githubusercontent.com/5053c02544330bc36fac59e1c548de77678fd8dac7ca298c336f95611e1c8eca/68747470733a2f2f706f7365722e707567782e6f72672f62616464756d2f666163746f72793431382f6c6963656e73652e737667)](http://opensource.org/licenses/MIT)

`Factory418` provides a PHP trait to easily create factory.

Documentation
-------------

[](#documentation)

A full documentation is available on the official website:

- [Quick Start](http://baddum.com/factory418/).
- [Installation](http://baddum.com/factory418/installation).
- [API Documentation](http://baddum.com/factory418/api).
- [Error Handling](http://baddum.com/factory418/error).

How to Contribute
-----------------

[](#how-to-contribute)

1. [Star](https://github.com/Baddum/Factory418/stargazers) the project!
2. Tweet and blog about Factory418 and [Let me know](https://twitter.com/iamtzi) about it.
3. [Report a bug](https://github.com/Baddum/Factory418/issues/new) that you find
4. Pull requests are highly appreciated. Please review the [guidelines for contributing](https://github.com/Baddum/Factory418/blob/master/CONTRIBUTING.md) to go further.

Author &amp; Community
----------------------

[](#author--community)

Factory418 is under [MIT License](http://opensource.org/licenses/MIT).
It was created &amp; is maintained by [Thomas ZILLIOX](http://tzi.fr).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

4066d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1dd01ef560c81cff6d288330b80a88f6728cf4f2b6fc6f5ab19dacde2f1cda06?d=identicon)[tzi](/maintainers/tzi)

---

Top Contributors

[![tzi](https://avatars.githubusercontent.com/u/415891?v=4)](https://github.com/tzi "tzi (22 commits)")

---

Tags

factory

### Embed Badge

![Health badge](/badges/baddum-factory418/health.svg)

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

###  Alternatives

[aura/dispatcher

Creates objects from a factory and invokes methods using named parameters; also provides a trait for invoking closures and object methods with named parameters.

3695.0k3](/packages/aura-dispatcher)[nikolaposa/cascader

Utility for creating objects in PHP from constructor parameters definitions.

12237.5k3](/packages/nikolaposa-cascader)[illuminatech/array-factory

Allows DI aware object creation from array definition

2159.6k5](/packages/illuminatech-array-factory)[aerni/factory

Quickly whip up fake content

193.5k](/packages/aerni-factory)

PHPackages © 2026

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