PHPackages                             yokuru/db-descriptor - 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. yokuru/db-descriptor

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

yokuru/db-descriptor
====================

A simple database schema descriptor.

v0.0.1(7y ago)07.9kMITPHPPHP ^7.1CI failing

Since May 13Pushed 6y agoCompare

[ Source](https://github.com/yokuru/db-descriptor)[ Packagist](https://packagist.org/packages/yokuru/db-descriptor)[ RSS](/packages/yokuru-db-descriptor/feed)WikiDiscussions master Synced 3d ago

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

Database Descriptor
===================

[](#database-descriptor)

[![Build Status](https://camo.githubusercontent.com/35fc9dcda8279f076ac0f6b9929bc51f12d02a363e477e6815b23f59e7d422f4/68747470733a2f2f7472617669732d63692e6f72672f796f6b7572752f64622d64657363726970746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yokuru/db-descriptor)[![Coverage Status](https://camo.githubusercontent.com/51e910a4ca54f423a50f3f462d6eb35e60d43104a76a1ca144ddc7a0adc29e06/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f796f6b7572752f64622d64657363726970746f722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/yokuru/db-descriptor?branch=master)[![MIT License](https://camo.githubusercontent.com/db79b92834d905629b1aea42c9aa493da02060189e2af90840b1be5d6bf6ddf7/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c6174)](LICENSE)

A simple database schema descriptor that supports only MySQL.

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

[](#installation)

With [Composer](https://getcomposer.org/):

```
composer require yokuru/db-descriptor

```

Usage
-----

[](#usage)

```
$pdo = new \PDO('YOUR_DSN', 'YOUR_USERNAME', 'YOUR_PASSWORD');
$descriptor = new MySqlDescriptor($pdo)
$database = $descriptor->describeDatabase();
```

License
-------

[](#license)

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

2558d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45123e241bd3dc40d728c70fe2af51e18abc99244c2333ed5b04dd9b074fe40f?d=identicon)[yokuru](/maintainers/yokuru)

---

Top Contributors

[![yokuru](https://avatars.githubusercontent.com/u/26265585?v=4)](https://github.com/yokuru "yokuru (19 commits)")

---

Tags

schemadatabasedescriptor

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yokuru-db-descriptor/health.svg)

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

###  Alternatives

[aura/sqlschema

Provides facilities to read table names and table columns from a database using PDO.

41234.1k4](/packages/aura-sqlschema)[thedevsaddam/laravel-schema

Display the connected database information in console.

11627.9k1](/packages/thedevsaddam-laravel-schema)[dragon-code/laravel-data-dumper

Adding data from certain tables when executing the `php artisan schema:dump` console command

3418.6k](/packages/dragon-code-laravel-data-dumper)[concretecms/doctrine-xml

Define database structure via XML using Doctrine data types

11100.8k2](/packages/concretecms-doctrine-xml)

PHPackages © 2026

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