PHPackages                             gember/file-reflector-roave - 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. gember/file-reflector-roave

Abandoned → [gember/event-sourcing](/?search=gember%2Fevent-sourcing)ArchivedLibrary

gember/file-reflector-roave
===========================

Gember Event Sourcing File Reflector adapter based on roave/better-reflection

0.5.0(8mo ago)0243MITPHPPHP ^8.3CI passing

Since Apr 28Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/GemberPHP/file-reflector-roave)[ Packagist](https://packagist.org/packages/gember/file-reflector-roave)[ RSS](/packages/gember-file-reflector-roave/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (11)Versions (6)Used By (0)

🫚 Gember File Reflector: Roave BetterReflection
===============================================

[](#-gember-file-reflector-roave-betterreflection)

[![Build Status](https://camo.githubusercontent.com/36a138171c35ef796ef68976e78be7654358f5cd7172f2ffc621720a7a59843e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f47656d6265725048502f66696c652d7265666c6563746f722d726f6176652f6261646765732f6275696c642e706e673f623d6d61696e)](https://github.com/GemberPHP/file-reflector-roave/actions)[![Coverage Status](https://camo.githubusercontent.com/730688588826be4bc7686af47611b37d0866289e4fbf02cbe3d156105200d4bd/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f47656d6265725048502f66696c652d7265666c6563746f722d726f6176652e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/GemberPHP/file-reflector-roave/code-structure)[![Quality Score](https://camo.githubusercontent.com/f7c7ca33144d3ebc31a2174a77043662ff3a8c5cf7ff5182e25a838aa1b93f75/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f47656d6265725048502f66696c652d7265666c6563746f722d726f6176652e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/GemberPHP/file-reflector-roave)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE)[![PHP Version](https://camo.githubusercontent.com/05de8fa997dec7bd6b39b7af8c030c734835c6871547f8b2d9ae87e4299ebc8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e332d3838393242462e7376673f7374796c653d666c6174)](http://www.php.net)

[Gember Event Sourcing](https://github.com/GemberPHP/event-sourcing) File Reflector adapter based on [roave/better-reflection](https://github.com/roave/better-reflection).

> All external dependencies in Gember Event Sourcing are organized into separate packages, making it easy to swap out a vendor adapter for another.

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

[](#installation)

Install with Composer:

```
composer require gember/file-reflector-roave
```

Configuration
-------------

[](#configuration)

Bind this adapter to the `Reflector` interface in your service definitions.

### Examples

[](#examples)

#### Vanilla PHP

[](#vanilla-php)

```
use Gember\FileReflectorRoave\RoaveBetterReflectionFactory;
use Gember\FileReflectorRoave\RoaveBetterReflectionReflector;

$reflector = new RoaveBetterReflectionReflector(
    new RoaveBetterReflectionFactory(),
);
```

#### Symfony

[](#symfony)

It is recommended to use the [Symfony bundle](https://github.com/GemberPHP/event-sourcing-symfony-bundle) to configure Gember Event Sourcing. With this bundle, the adapter is automatically set as the default for File Reflector.

If you're not using the bundle, you can bind it directly to the `Reflector` interface.

```
Gember\FileReflectorRoave\RoaveBetterReflectionFactory: ~

Gember\EventSourcing\Util\File\Reflector\Reflector:
  class: Gember\FileReflectorRoave\RoaveBetterReflectionReflector
  arguments:
    - '@Gember\FileReflectorRoave\RoaveBetterReflectionFactory'
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance63

Regular maintenance activity

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.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 ~30 days

Total

5

Last Release

253d ago

### Community

Maintainers

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

---

Top Contributors

[![jerowork](https://avatars.githubusercontent.com/u/4119451?v=4)](https://github.com/jerowork "jerowork (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

better-reflectioncqrsdcbddddomain-driven-designdynamic-consistency-boundaryevent-sourcingfile-reflectorgemberroaveDomain Driven Designdddevent sourcingcqrsgemberroavefile-reflectorbetter-reflection

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gember-file-reflector-roave/health.svg)

```
[![Health](https://phpackages.com/badges/gember-file-reflector-roave/health.svg)](https://phpackages.com/packages/gember-file-reflector-roave)
```

###  Alternatives

[broadway/broadway

Infrastructure and testing helpers for creating CQRS and event sourced applications.

1.5k2.0M53](/packages/broadway-broadway)[broadway/broadway-bundle

Symfony bundle for broadway/broadway.

68853.8k7](/packages/broadway-broadway-bundle)[nwidart/laravel-broadway

A Laravel adapter for the Broadway ES/CQRS package.

12315.0k](/packages/nwidart-laravel-broadway)

PHPackages © 2026

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