PHPackages                             scaleplan/init-trait - 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. scaleplan/init-trait

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

scaleplan/init-trait
====================

Trait for initialization static and object properties via settings array

147PHP

Since Nov 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/scaleplan/init-trait)[ Packagist](https://packagist.org/packages/scaleplan/init-trait)[ RSS](/packages/scaleplan-init-trait/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

initTrait
=========

[](#inittrait)

The initialization of objects and classes.

#### Installation

[](#installation)

`composer reqire scaleplan/inittrait`

#### Description

[](#description)

Simplifies the mass assignment of the values ​​of the transferred array of settings to the same properties of the class/object. If this is for a property that has a setter, then it uses it to assign a value.

[Documentation](docs_en)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10077243?v=4)[Aleksandr Avtomonov](/maintainers/avtomon)[@avtomon](https://github.com/avtomon)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/scaleplan-init-trait/health.svg)

```
[![Health](https://phpackages.com/badges/scaleplan-init-trait/health.svg)](https://phpackages.com/packages/scaleplan-init-trait)
```

###  Alternatives

[mtdowling/supervisor-event

Wires callback functions to Supervisor events

123174.8k1](/packages/mtdowling-supervisor-event)[classiebit/addchat-laravel

Live chat widget for Laravel that also includes multi-user chat, group permissions, customer support chat &amp; more.

13912.0k](/packages/classiebit-addchat-laravel)

PHPackages © 2026

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