PHPackages                             gevman/zend-db-schema-info - 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. gevman/zend-db-schema-info

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

gevman/zend-db-schema-info
==========================

Database Schema information provider for zend framework

0.2.1(8y ago)621BSD-3-ClausePHPPHP &gt;=7.1

Since Feb 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gevorgmansuryan/zend-db-schema-info)[ Packagist](https://packagist.org/packages/gevman/zend-db-schema-info)[ RSS](/packages/gevman-zend-db-schema-info/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Zend Db Schema Info
===================

[](#zend-db-schema-info)

### Database Schema information provider for zend framework

[](#database-schema-information-provider-for-zend-framework)

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

[](#installation)

```
composer require gevman/zend-db-schema-info
```

Available methods
-----------------

[](#available-methods)

##### `string[]` Schema::getTables(`void`)

[](#string-schemagettablesvoid)

Returns table list

###### example

[](#example)

```
$schema = new Schema($container->get(\Zend\Db\Adapter\Adapter::class));

var_dump($schema->getTables());
```

##### `ColumnEntity[]` Schema::getTableColumns(`string` $table)

[](#columnentity-schemagettablecolumnsstring-table)

Returns list of information data objects for all columns in specified table

###### example

[](#example-1)

```
$schema = new Schema($container->get(\Zend\Db\Adapter\Adapter::class));

var_dump($schema->getTableColumns('users));
```

Data Object `ColumnEntity` definition

- `string` $name - name of this column (without quotes).
- `bool` $allowNull - whether this column can be null.
- `string` $type - abstract type of this column. Possible abstract types include: char, string, text, boolean, smallint, integer, bigint, float, decimal, datetime, timestamp, time, date, binary, and money.
- `string` $phpType - string the PHP type of this column. Possible PHP types include: `string`, `boolean`, `integer`, `double`.
- `string` $dbType - the DB type of this column. Possible DB types vary according to the type of DBMS.
- `mixed` $defaultValue - default value of this column
- `array` $enumValues - enumerable values. This is set only if the column is declared to be an enumerable type.
- `int` $size - display size of the column.
- `int` $precision - precision of the column data, if it is numeric.
- `int` $scale - scale of the column data, if it is numeric.
- `bool` $isPrimaryKey - whether this column is a primary key
- `bool` $autoIncrement - whether this column is auto-incremental
- `bool` $unsigned - bool whether this column is unsigned. This is only meaningful when \[\[type\]\] is `smallint`, `integer` or `bigint`.
- `string` $comment - comment of this column. Not all DBMS support this.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

3

Last Release

2993d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11891855?v=4)[Gevorg Mansuryan](/maintainers/gevorgmansuryan)[@gevorgmansuryan](https://github.com/gevorgmansuryan)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/gevman-zend-db-schema-info/health.svg)

```
[![Health](https://phpackages.com/badges/gevman-zend-db-schema-info/health.svg)](https://phpackages.com/packages/gevman-zend-db-schema-info)
```

PHPackages © 2026

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