PHPackages                             linkorb/database-manager - 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. linkorb/database-manager

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

linkorb/database-manager
========================

Database Management utilities: connectivity, backups, fixtures, etc

v2.1.0(8y ago)497.3k↓12.7%22MITPHPCI failing

Since Sep 14Pushed 8y ago9 watchersCompare

[ Source](https://github.com/linkorb/database-manager)[ Packagist](https://packagist.org/packages/linkorb/database-manager)[ Docs](http://www.github.com/linkorb/database-manager)[ RSS](/packages/linkorb-database-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (2)

Database Manager
================

[](#database-manager)

Database Manager helps developers manage their dev/test/prod databases.

Features:

- Load database connection configuration
- Instantiate PDO connections

Database Manager can be used both as a command-line utility as a PHP library.

Suggestions
-----------

[](#suggestions)

-  - to load schemas
-  - to load alice fixtures

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

[](#installation)

### Composer

[](#composer)

Use this installation path if you wish to use Database Manager in your PHP project.

Add the following to your `composer.json` file, in the `require` section:

```
"linkorb/database-manager": "~2.0"

```

Then run `composer update` to install the new dependency

### Git

[](#git)

Use this installation path if you wish to use Database Manager as a stand-alone utility.

Checkout the code from Github:

```
git clone git@github.com:linkorb/database-manager.git
cd database-manager
composer install # install dependencies
./bin/database-manager # list command-line options

```

Database configuration files
----------------------------

[](#database-configuration-files)

Database connection information is stored in a simple .ini file. Here's a working example:

```
name = mydb
server = localhost
port = 3306
username = my_username
password = my_password

```

Note that `port` key is optional.

Store your database in `/share/config/database/[databasename].conf`

Command-line options
--------------------

[](#command-line-options)

`bin/database-manager connection:config [dbname]`

This will load the configuration from `/share/config/database/[databasename].conf`, and display it on the console.

Examples
--------

[](#examples)

Please refer to the `examples/` directory for:

- Example database .conf file

Testing
-------

[](#testing)

Install phpunit and copy `phpunit.xml.dist` to `phpunit.xml`:

```
cp phpunit.xml.dist phpunit.xml
```

Type `phpunit` in terminal to run tests.

Contributing
------------

[](#contributing)

Ready to build and improve on this repo? Excellent! Go ahead and fork/clone this repo and we're looking forward to your pull requests! Be sure to update the unit tests in tests/.

If you are unable to implement changes you like yourself, don't hesitate to open a new issue report so that we or others may take care of it.

License
-------

[](#license)

Please check LICENSE.md for full license information

Brought to you by the LinkORB Engineering team
----------------------------------------------

[](#brought-to-you-by-the-linkorb-engineering-team)

[![](https://camo.githubusercontent.com/62fb66b034de7ea7fca9fd9776424b5348daa76ef8622caf92c2f7622003e5ef/687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67)](https://camo.githubusercontent.com/62fb66b034de7ea7fca9fd9776424b5348daa76ef8622caf92c2f7622003e5ef/687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67)
Check out our other projects at [linkorb.com/engineering](http://www.linkorb.com/engineering).

Btw, we're hiring!

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 71% 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 ~417 days

Total

4

Last Release

3012d ago

Major Versions

v1.0.1 → v2.0.02015-08-16

### Community

Maintainers

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

---

Top Contributors

[![joostfaassen](https://avatars.githubusercontent.com/u/411113?v=4)](https://github.com/joostfaassen "joostfaassen (22 commits)")[![igormukhingmailcom](https://avatars.githubusercontent.com/u/6544038?v=4)](https://github.com/igormukhingmailcom "igormukhingmailcom (8 commits)")[![h-wang](https://avatars.githubusercontent.com/u/3410322?v=4)](https://github.com/h-wang "h-wang (1 commits)")

---

Tags

phpapifixturesdatabasebackupmysqldoctrinepostgresqlpdo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/linkorb-database-manager/health.svg)

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

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[clouddueling/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k22.9k](/packages/clouddueling-mysqldump-php)[popphp/pop-db

Pop Db Component for Pop PHP Framework

1814.6k11](/packages/popphp-pop-db)

PHPackages © 2026

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