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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gember/file-reflector-roave

Abandoned → [gember/event-sourcing](/?search=gember%2Fevent-sourcing)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

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

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

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

Since Apr 28Pushed 10mo 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

32

—

LowBetter than 69% of packages

Maintenance54

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

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

308d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4119451?v=4)[Jeroen](/maintainers/jerowork)[@jerowork](https://github.com/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.0M62](/packages/broadway-broadway)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k53](/packages/ecotone-ecotone)[patchlevel/event-sourcing

A lightweight but also all-inclusive event sourcing library with a focus on developer experience

207362.9k13](/packages/patchlevel-event-sourcing)[broadway/broadway-bundle

Symfony bundle for broadway/broadway.

68869.2k7](/packages/broadway-broadway-bundle)[dykyi-roman/awesome-claude-code

Claude Code extension for PHP: audits (architecture, DDD, security, performance, PSR, design patterns, Docker, CI/CD, tests, docs), 3-level code review, automated bug fix, generators (DDD, CQRS, GoF patterns, PSR, tests, documentation, Docker, CI/CD), code explanation, refactoring. 26 commands, 62 agents, 259 skills.

851.2k](/packages/dykyi-roman-awesome-claude-code)[pauci/cqrs

CQRS library

1725.2k3](/packages/pauci-cqrs)

PHPackages © 2026

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