PHPackages                             norse-blue/creatable-objects - 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. norse-blue/creatable-objects

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

norse-blue/creatable-objects
============================

PHP Creatable Objects is a PHP library that auto-wires an object's create method to its constructor regardless of visibility.

3.1.1(4y ago)129812MITPHPPHP ^8.0CI failing

Since Aug 31Pushed 4y ago1 watchersCompare

[ Source](https://github.com/norse-blue/php-creatable-objects)[ Packagist](https://packagist.org/packages/norse-blue/creatable-objects)[ Docs](https://norse.blue/open-source/php-creatable-objects)[ Fund](https://www.buymeacoffee.com/axelitus)[ GitHub Sponsors](https://github.com/axelitus)[ RSS](/packages/norse-blue-creatable-objects/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (5)Versions (8)Used By (2)

PHP Creatable Objects
=====================

[](#php-creatable-objects)

 [![Stable Release](https://camo.githubusercontent.com/41a41daa336b8ccb13e42dfbefa77a519d2887a3217d3e80bd99e8e94491c670/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f7273652d626c75652f637265617461626c652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d356538316163)](https://packagist.org/packages/norse-blue/creatable-objects) [![Build Status](https://camo.githubusercontent.com/8f344df11b445bc3fe680585d08bd0c1392542a9cc13b18c6f203fe1cad33e99/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6e6f7273652d626c75652f7068702d637265617461626c652d6f626a656374732f72756e2d74657374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d6275696c64266c6f676f3d676974687562266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://github.com/norse-blue/php-creatable-objects/actions?query=workflow%3Arun-tests) [![PHP Version](https://camo.githubusercontent.com/8597aee604b283e17171d72789e095f55b2e6334d1cc2ca6beb413fb3e5a1738/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6e6f7273652d626c75652f637265617461626c652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d706870266c6f676f3d706870266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d623438656164)](https://php.net/releases) [![Test Coverage](https://camo.githubusercontent.com/8499ff28b07d2fdf94666280fddda64f5ba07ad640e46b9c7285b3f2f75851c1/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6e6f7273652d626c75652f7068702d637265617461626c652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d636f766572616765266c6f676f3d636f6465636f76266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://codecov.io/gh/norse-blue/php-creatable-objects) [![Maintainability](https://camo.githubusercontent.com/a8db2b3a71c128cb566e3ba1e5fca6904d567cca2541991330bfa325936c627b/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f6e6f7273652d626c75652f7068702d637265617461626c652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d6d61696e7461696e6162696c697479266c6f676f3d636f64652d636c696d617465266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://codeclimate.com/github/norse-blue/php-creatable-objects) [![Total Downloads](https://camo.githubusercontent.com/80ed20e9b63b979a2e3ad7a6e222e1ace3717bb4c542efbbee6ab5ff5fa0e999/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f7273652d626c75652f637265617461626c652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d646f776e6c6f616473266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://packagist.org/packages/norse-blue/creatable-objects) [![License](https://camo.githubusercontent.com/36730698896afd56e2db1fbf0d44cbfe8880cf7acb3d9b174f353837d3d5e9c3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6f7273652d626c75652f7068702d637265617461626c652d6f626a656374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d6c6963656e7365266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d613362653863)](https://github.com/norse-blue/php-creatable-objects/blob/master/LICENSE.md)

---

**PHP Creatable Objects** is a PHP library that auto-wires an object's create method to its constructor regardless of visibility.

Installation
------------

[](#installation)

> Requirements:
>
> - [PHP 8.0+](https://php.net/releases)

Install this package using Composer:

```
composer require norse-blue/creatable-objects
```

Usage
-----

[](#usage)

To get more in-depth knowledge about this package, please refer to the [Official Documentation](https://norse-blue.github.io/php-creatable-objects/).

Changelog
---------

[](#changelog)

Please refer to the [CHANGELOG.md](CHANGELOG.md) file for more information about what has changed recently.

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

[](#contributing)

Contributions to this project are accepted and encouraged. Please read the [CONTRIBUTING.md](.github/CONTRIBUTING.md) file for details on contributions.

Credits
-------

[](#credits)

- [Axel Pardemann](https://github.com/axelitus)
- [All Contributors](../../contributors)

Security
--------

[](#security)

Please review our [security policy](https://github.com/norse-blue/php-creatable-objects/security/policy) to know how to report security vulnerabilities within this package.

Support the development
-----------------------

[](#support-the-development)

**Do you like this project? Support it by donating**

[![Buy me a coffee](docs/assets/images/buy-me-a-coffee.svg)](https://www.buymeacoffee.com/axelitus)

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT](LICENSE.md) license.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 97.8% 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 ~122 days

Recently: every ~180 days

Total

7

Last Release

1713d ago

Major Versions

1.1.0 → 2.0.02020-05-07

2.0.0 → 3.0.02021-09-02

PHP version history (3 changes)1.0.0PHP ^7.3

2.0.0PHP ^7.4

3.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/61386558d4fa03cc9de21d20e76f396d5568e0e647e1cdf18f12c87f1a5f87b5?d=identicon)[axelitus](/maintainers/axelitus)

---

Top Contributors

[![axelitus](https://avatars.githubusercontent.com/u/732441?v=4)](https://github.com/axelitus "axelitus (45 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

constructorobjectscreatable

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/norse-blue-creatable-objects/health.svg)

```
[![Health](https://phpackages.com/badges/norse-blue-creatable-objects/health.svg)](https://phpackages.com/packages/norse-blue-creatable-objects)
```

###  Alternatives

[doctrine/instantiator

A small, lightweight utility to instantiate objects in PHP without invoking their constructors

11.0k853.3M335](/packages/doctrine-instantiator)[eventsauce/object-hydrator

Converts structured data into strict objects.

3322.3M20](/packages/eventsauce-object-hydrator)[ilya/belt

A handful of tools for PHP developers.

71020.8k1](/packages/ilya-belt)[minwork/array

Pack of advanced array functions specifically tailored for: associative (assoc) array, multidimensional array, array of objects and handling nested array elements

66256.1k5](/packages/minwork-array)[acquia/mc-cs-plugin-custom-objects

This plugin adds custom objects feature.

4713.7k](/packages/acquia-mc-cs-plugin-custom-objects)

PHPackages © 2026

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