PHPackages                             rebelcode/entity-manager-interface - 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. [Database &amp; ORM](/categories/database)
4. /
5. rebelcode/entity-manager-interface

ActiveLibrary[Database &amp; ORM](/categories/database)

rebelcode/entity-manager-interface
==================================

An interface package for standardizing entity managers.

v0.1-alpha2(7y ago)07178GPL-3.0PHPPHP ^5.3.9 | ^7.0

Since Oct 9Pushed 7y ago2 watchersCompare

[ Source](https://github.com/RebelCode/entity-manager-interface)[ Packagist](https://packagist.org/packages/rebelcode/entity-manager-interface)[ RSS](/packages/rebelcode-entity-manager-interface/feed)WikiDiscussions develop Synced 2d ago

READMEChangelog (2)Dependencies (7)Versions (4)Used By (8)

RebelCode - Entity Manager Interface
====================================

[](#rebelcode---entity-manager-interface)

[![Build Status](https://camo.githubusercontent.com/27db3948ccfc46d70e1d3b5929df95468a3c442588c3a0916cb0b6b260248316/68747470733a2f2f7472617669732d63692e6f72672f526562656c436f64652f656e746974792d6d616e616765722d696e746572666163652e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/RebelCode/entity-manager-interface)[![Code Climate](https://camo.githubusercontent.com/f97c549d84df25396c49b55e287f56b5c612ccc5a40aaa42c118db085fb3cfbe/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f526562656c436f64652f656e746974792d6d616e616765722d696e746572666163652f6261646765732f6770612e737667)](https://codeclimate.com/github/RebelCode/entity-manager-interface)[![Latest Stable Version](https://camo.githubusercontent.com/b3264387093f1184a49a129377fdbf4315b672c38b65c41dfd02cafa61a55baa/68747470733a2f2f706f7365722e707567782e6f72672f726562656c636f64652f656e746974792d6d616e616765722d696e746572666163652f76657273696f6e)](https://packagist.org/packages/rebelcode/entity-manager-interface)

An interface package for standardizing entity managers.

Introduction
------------

[](#introduction)

This package provides a set of interfaces for objects (referred to as entity managers) that can manage entities.

The interfaces are designed to mimic typical collection APIs in order to make them as compatible as possible with other collection implements. In fact, some of the interfaces and methods in this package are inherited from [`dhii/collections-interface`](https://github.com/Dhii/collections-interface). This is to allow entity managers to be able to work with both fixed and temporary forms of entities, such as database records, temporary computation results or configuration.

We use these interfaces internally to conceal our usage of CQRS resource model abstraction from consumers (See [`dhii/cqrs-resource-model-interface`](https://github.com/Dhii/cqrs-resource-model-interface)).
By implementing these interfaces, we are able to make consumers agnostic of this database abstraction and instead communicate with entity manager instances for read/write operations.

Requirements
------------

[](#requirements)

- PHP 5.3.9 or later

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

[](#installation)

**With composer** *(Recommended)*

```
composer require rebelcode/entity-manager-interface

```

**Custom Autoloader**

Download the source code and refer to the vendor of your autoloader implementation for how to add an autoload rule.

All interfaces in this package exist under the `RebelCode\Entity` namespace and are located within the `src` directory, with no exceptions.

**Without composer**

Download the source code and `require` or `include` the required files in your code.

Each interface is stored in its own identically-named file without any consequential code being invoked, which means the files are 100% safe for inclusion.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity45

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

Total

2

Last Release

2822d ago

### Community

Maintainers

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

---

Top Contributors

[![mecha](https://avatars.githubusercontent.com/u/5425482?v=4)](https://github.com/mecha "mecha (15 commits)")

---

Tags

collectionsdatabaseentityinterfacemanagerstorage

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rebelcode-entity-manager-interface/health.svg)

```
[![Health](https://phpackages.com/badges/rebelcode-entity-manager-interface/health.svg)](https://phpackages.com/packages/rebelcode-entity-manager-interface)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k455.6M9.4k](/packages/symfony-dependency-injection)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M332](/packages/api-platform-core)[getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

15.6k86.4k1](/packages/getgrav-grav)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[moonshine/moonshine

Laravel administration panel

1.3k253.1k78](/packages/moonshine-moonshine)

PHPackages © 2026

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