PHPackages                             syjust/sf-db-cmd - 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. syjust/sf-db-cmd

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

syjust/sf-db-cmd
================

Symfony DB command

1.1.1(1y ago)117MITPHPPHP &gt;=8.2

Since Jul 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/syjust/sf-db-cmd)[ Packagist](https://packagist.org/packages/syjust/sf-db-cmd)[ RSS](/packages/syjust-sf-db-cmd/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (7)Versions (4)Used By (0)

Symfony Db Command
==================

[](#symfony-db-command)

Description
-----------

[](#description)

A copy / adaptation of laravel/framework [DbCommand](https://github.com/laravel/framework/blob/11.x/src/Illuminate/Database/Console/DbCommand.php)

- used to easily access your DB with a command line interface,
- based on symfony/console, symfony/process &amp; doctrine/orm libraries.

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

[](#installation)

First, add the dependency in your project.

```
composer require syjust/sf-db-cmd
```

Then add the following line in your `config/bundles.php` file.

```
// ...
    Syjust\SfDbCmd\DbCommandBundle::class => ['all' => true],
// ...
```

Usage
-----

[](#usage)

```
# connecting interactively into the database
php bin/console db
```

Limitations
-----------

[](#limitations)

This command was only tested with `pdo_mysql` &amp; `pdo_sqlite` at this time in interactive mode at this time.

Contributions
-------------

[](#contributions)

- First, please use [conventional commit](https://www.conventionalcommits.org/en/v1.0.0-beta.4/),
- then, submit your Pull Request onto the [GitHub Repo](https://github.com/syjust/sf-db-cmd.git),
- and we will see 😋.

Known issues
------------

[](#known-issues)

If you get the following message:

```
TTY mode requires /dev/tty to be read/writable.
```

1. Ensure `/dev/tty` is writable in shell mode (`echo foobar >> /dev/tty`).
2. Ensure you are on unix based OS (`/` is the directory separator).
3. Ensure PHP is able to write in `/dev/tty` (``) If the latest test fails: add ':/dev/tty' to the `open_basedir` config in your `php.ini`.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

3

Last Release

716d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/328522?v=4)[Sylvain JUST](/maintainers/syjust)[@syjust](https://github.com/syjust)

---

Top Contributors

[![syjust](https://avatars.githubusercontent.com/u/328522?v=4)](https://github.com/syjust "syjust (26 commits)")

### Embed Badge

![Health badge](/badges/syjust-sf-db-cmd/health.svg)

```
[![Health](https://phpackages.com/badges/syjust-sf-db-cmd/health.svg)](https://phpackages.com/packages/syjust-sf-db-cmd)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.8k](/packages/contao-core-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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