PHPackages                             daviddeutsch/redbean-prefix - 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. daviddeutsch/redbean-prefix

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

daviddeutsch/redbean-prefix
===========================

For when you absolutely, positively need prefixes in RedBeanPHP

3281PHP

Since Apr 5Pushed 12y ago1 watchersCompare

[ Source](https://github.com/daviddeutsch/redbean-prefix)[ Packagist](https://packagist.org/packages/daviddeutsch/redbean-prefix)[ RSS](/packages/daviddeutsch-redbean-prefix/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

RedBean Prefix
==============

[](#redbean-prefix)

In a perfect world, we wouldn't have to do this. Nevertheless, we cannot help it, sometimes.

This is a RedBean plugin that automatically injects prefixes into your table names.

### Usage

[](#usage)

```
// Include or autoload the files in this library

R::ext( 'prefix', array('RedBean_Prefix', 'prefix') );

R::prefix('my_prefix_');

// If you want to inject it into another instance of RB

$r2db2 = R::instance();

$r2db2::prefix('my_other_db_', $r2db2);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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://avatars.githubusercontent.com/u/630246?v=4)[David Deutsch](/maintainers/daviddeutsch)[@daviddeutsch](https://github.com/daviddeutsch)

---

Top Contributors

[![daviddeutsch](https://avatars.githubusercontent.com/u/630246?v=4)](https://github.com/daviddeutsch "daviddeutsch (6 commits)")[![yoghi](https://avatars.githubusercontent.com/u/226824?v=4)](https://github.com/yoghi "yoghi (1 commits)")

### Embed Badge

![Health badge](/badges/daviddeutsch-redbean-prefix/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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