PHPackages                             b2pweb/bdf-prime-shell - 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. b2pweb/bdf-prime-shell

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

b2pweb/bdf-prime-shell
======================

Interactive shell for prime queries

v1.0.8(5mo ago)03.4k↓50%MITPHPPHP ~7.1 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Dec 14Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/b2pweb/bdf-prime-shell)[ Packagist](https://packagist.org/packages/b2pweb/bdf-prime-shell)[ RSS](/packages/b2pweb-bdf-prime-shell/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (10)Used By (0)

Prime Shell
===========

[](#prime-shell)

[![build](https://github.com/b2pweb/bdf-prime-shell/actions/workflows/php.yml/badge.svg)](https://github.com/b2pweb/bdf-prime-shell/actions/workflows/php.yml)[![codecov](https://camo.githubusercontent.com/8853406dc56f58310c0c2cb4d32839cbc0220b7e76ce906169c08ea980c3f36b/68747470733a2f2f636f6465636f762e696f2f6769746875622f6232707765622f6264662d7072696d652d7368656c6c2f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d564f4653504557594b58)](https://app.codecov.io/github/b2pweb/bdf-prime-shell)[![Packagist Version](https://camo.githubusercontent.com/fafe8a474fd4668b5a729c44ac870f5b960f32861f2c24a1a69691bfc0ca002e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6232707765622f6264662d7072696d652d7368656c6c2e737667)](https://packagist.org/packages/b2pweb/bdf-prime-shell)[![Total Downloads](https://camo.githubusercontent.com/472c65b95a003bceadeae158107fd64dbe871bf931d8770342705d059b81ceec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6232707765622f6264662d7072696d652d7368656c6c2e737667)](https://packagist.org/packages/b2pweb/bdf-prime-shell)[![Type Coverage](https://camo.githubusercontent.com/aa87a365e8764c9be024cda45b00e134678d51b35590c129d5c9397a6e9834ec/68747470733a2f2f73686570686572642e6465762f6769746875622f6232707765622f6264662d7072696d652d7368656c6c2f636f7665726167652e737667)](https://shepherd.dev/github/b2pweb/bdf-prime-shell)

Interactive shell for execute queries using prime repositories.

Usage
-----

[](#usage)

Install using composer

```
composer require b2pweb/bdf-prime-shell

```

Register the command into the console (symfony example) :

```
services:
    Bdf\Prime\Shell\PrimeShellCommand:
        class: 'Bdf\Prime\Shell\PrimeShellCommand'
        arguments: ['@prime']
        tags: ['console.command']
```

Now you can execute the shell :

```
bin/console prime:shell -p src/Entity

```

The `-p` option allow preloading entity classes for autocomplete. Now you can call repositories and queries methods like in real PHP !

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance70

Regular maintenance activity

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity73

Established project with proven stability

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

Recently: every ~159 days

Total

9

Last Release

173d ago

PHP version history (6 changes)v1.0.0PHP ~7.1 || ~8.0.0

v1.0.1PHP ~7.1 || ~8.0.0 || ~8.1.0

v1.0.3PHP ~7.1 || ~8.0.0 || ~8.1.0 || ~8.2.0

v1.0.4PHP ~7.1 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

v1.0.7PHP ~7.1 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

v1.0.8PHP ~7.1 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c87e81e7c2f228f5f9b346e86776c8a8740a9f8eb39d710d1de136dbd7c75a3?d=identicon)[Johnmeurt](/maintainers/Johnmeurt)

---

Top Contributors

[![vincent4vx](https://avatars.githubusercontent.com/u/1770818?v=4)](https://github.com/vincent4vx "vincent4vx (35 commits)")

---

Tags

shellormprime

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/b2pweb-bdf-prime-shell/health.svg)

```
[![Health](https://phpackages.com/badges/b2pweb-bdf-prime-shell/health.svg)](https://phpackages.com/packages/b2pweb-bdf-prime-shell)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

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

Symfony DoctrineBundle

4.8k241.3M3.3k](/packages/doctrine-doctrine-bundle)[propel/propel

Propel2 is an open-source Object-Relational Mapping (ORM) for PHP.

1.3k5.3M110](/packages/propel-propel)[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M155](/packages/sonata-project-doctrine-orm-admin-bundle)[doctrine/doctrine-orm-module

Laminas Module that provides Doctrine ORM functionality

4407.3M293](/packages/doctrine-doctrine-orm-module)[data-dog/audit-bundle

Audit bundle for symfony2 and doctrine orm, logs any database change

141901.7k1](/packages/data-dog-audit-bundle)

PHPackages © 2026

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