PHPackages                             zloynick/joole-reflector - 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. zloynick/joole-reflector

ActiveJoole-component[Utility &amp; Helpers](/categories/utility)

zloynick/joole-reflector
========================

v2.1.5(4y ago)1452GPL-3.0+PHP

Since Feb 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ZloyNick/joole-reflector)[ Packagist](https://packagist.org/packages/zloynick/joole-reflector)[ RSS](/packages/zloynick-joole-reflector/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (2)

Joole Reflector
===============

[](#joole-reflector)

**Joole Reflector is used to work with the properties of objects, their changes and merges.**

Getting Started
---------------

[](#getting-started)

---

Download it with composer:

`composer require zloynick/joole-reflector`
Usage
-----

[](#usage)

---

Init your reflector class:
```

...
use joole\reflector\Reflector;
...

```

Build reflection object:

```

...
$reflectedClass = $reflector->buildFromObject($yourClass);
//OR
$reflectedClass = $reflector->buildFromObject(
    YourClass::class,// class as string
    [$constructorParams1, $constructorParams2],// Using for class constructor
);
...

```

Change private/protected properties:

```

...
$reflectedClass->getProperty('exampleProperty')->setValue($value);
// Notice: $value's type must be instance of property type
// or null if property nullable. "exampleProperty" is a property of
// your class, that had reflected.
...

```

Properties merging:

```

...
$reflector->merge($class, [
    'id' => $id,
    'value' => $value,
]);
// OR
$reflector->merge($class, $classFrom, [
    'id' => $id,
    'value',//if exists at $classFrom
]);
...

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

3

Last Release

1530d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cff51652283bc946a839f9f084ba4a69c6917191c48b83412dab6ffc6e5dc472?d=identicon)[ZloyNick](/maintainers/ZloyNick)

---

Top Contributors

[![ZloyNick](https://avatars.githubusercontent.com/u/23015694?v=4)](https://github.com/ZloyNick "ZloyNick (3 commits)")

---

Tags

componentreflectionsReflectorjoole

### Embed Badge

![Health badge](/badges/zloynick-joole-reflector/health.svg)

```
[![Health](https://phpackages.com/badges/zloynick-joole-reflector/health.svg)](https://phpackages.com/packages/zloynick-joole-reflector)
```

###  Alternatives

[phpoffice/common

PHPOffice Common

23512.3M36](/packages/phpoffice-common)[lochmueller/autoloader

Automatic components loading of ExtBase extensions to get more time for coffee in the company ;) This ext is not a PHP SPL autoloader or class loader - it is better! Loads CommandController, Xclass, Hooks, FlexForms, Slots, TypoScript, TypeConverter, BackendLayouts and take care of createing needed templates, TCA configuration or translations at the right location.

19364.9k5](/packages/lochmueller-autoloader)[tomatophp/filament-icons

Picker &amp; Table Column &amp; Icons Provider for FilamentPHP

3598.2k13](/packages/tomatophp-filament-icons)[contributte/menu-control

Menu control for Nette framework

29108.6k1](/packages/contributte-menu-control)[fsi/datagrid

FSi DataGrid Component

2761.5k2](/packages/fsi-datagrid)[carrooi/nette-menu

Menu control for Nette framework

2950.0k1](/packages/carrooi-nette-menu)

PHPackages © 2026

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