PHPackages                             bnder/bnder - 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. bnder/bnder

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

bnder/bnder
===========

Create entities on the fly.

11PHPCI failing

Since Sep 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/PanosCodes/Bnder)[ Packagist](https://packagist.org/packages/bnder/bnder)[ RSS](/packages/bnder-bnder/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/e0dea411e7027b0869f083098d025487562b7a2614c65495941c08ae6f3c180f/68747470733a2f2f7472617669732d63692e6f72672f50616e6f73436f6465732f426e6465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/PanosCodes/Bnder)

### 🤖 Bnder

[](#-bnder)

---

Bnder is inspired by the Laravel factories, it is meant to be a quick and clean way to create and persist and your Doctrine entities. It relies heavily on reflection class providing a fluent api.

#### Installation

[](#installation)

`composer require bnder/bnder`

#### Example

[](#example)

```
$properties = [
    'user' => new User(),
    'email' => 'sample@mail.local',
];

Bnder::registerFactory(Factory::create(SampleEntity::class, $properties));

// This will create an array of 3
$entities = Bnder::load(SampleEntity::class)->create(['email' => 'demo@mail.local'], 3);
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.5% 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://www.gravatar.com/avatar/326f91d376f59f3db78208b34e8342d2ea3d99925ee57d0ef37ea6e187e1fa9e?d=identicon)[PanosCodes](/maintainers/PanosCodes)

---

Top Contributors

[![PanosCodes](https://avatars.githubusercontent.com/u/22100396?v=4)](https://github.com/PanosCodes "PanosCodes (35 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

---

Tags

doctrinedoctrine-entities

### Embed Badge

![Health badge](/badges/bnder-bnder/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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