PHPackages                             zazalt/databaser - 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. zazalt/databaser

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

zazalt/databaser
================

Databaser

0436PHP

Since Feb 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Zazalt/Databaser)[ Packagist](https://packagist.org/packages/zazalt/databaser)[ RSS](/packages/zazalt-databaser/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Databaser
=========

[](#databaser)

[![Build Status](https://camo.githubusercontent.com/ef503eac7e1f75940a7ca38499a7ccbcc4cb5255e89e508a8b40fe937054dfd8/68747470733a2f2f7472617669732d63692e6f72672f5a617a616c742f4461746162617365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Zazalt/Databaser)[![Coverage Status](https://camo.githubusercontent.com/e1871817ccd858df1dc3b72339d0e8291bb0c92d5cc72c98c9dc844a9930f1f3/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f5a617a616c742f4461746162617365722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Zazalt/Databaser?branch=master)[![Code Climate](https://camo.githubusercontent.com/f084f8e2b445bc4a226fde5a7cdc112c33f9210137e3ff6c47498d34f41eccb8/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f5a617a616c742f4461746162617365722f6261646765732f6770612e737667)](https://codeclimate.com/github/Zazalt/Databaser)[![Issue Count](https://camo.githubusercontent.com/4aa3fd559c533651f21abc6577f12264ed7b1b065bd3a62c5207bb27bbbb2a42/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f5a617a616c742f4461746162617365722f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/Zazalt/Databaser/issues)[![Total Downloads](https://camo.githubusercontent.com/a2ff54812bd03bc629ae95ae7af107817cb22250218213260d82fff7fee81693/68747470733a2f2f706f7365722e707567782e6f72672f7a617a616c742f6461746162617365722f646f776e6c6f616473)](https://packagist.org/packages/zazalt/databaser/stats)[![Latest Stable Version](https://camo.githubusercontent.com/41f7ef279b5f19fc6fe8d89e79a157a59fc77a95f244d72e1bcc371df028580a/68747470733a2f2f706f7365722e707567782e6f72672f7a617a616c742f6461746162617365722f762f737461626c65)](https://packagist.org/packages/zazalt/databaser)[![Version](https://camo.githubusercontent.com/acca41dd3b978af99b06f7de6b2765ec07484cb08a028738a88244acada72cad/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d626574612d79656c6c6f772e737667)](https://camo.githubusercontent.com/acca41dd3b978af99b06f7de6b2765ec07484cb08a028738a88244acada72cad/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d626574612d79656c6c6f772e737667)

Databaser is a PHP library/package to 'translate' a database to array.

Requirements
------------

[](#requirements)

- php &gt;= 7.1.0

Packagist Dependencies
----------------------

[](#packagist-dependencies)

- [zazalt/omen](https://github.com/zazalt/omen)

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

[](#installation)

With composer:

```
{
	"require": {
		"zazalt/databaser": "dev-master"
	}
}
```

Usage
-----

[](#usage)

```
/**
 * Will return an array with all tables/entities and rows
 */
print_r(
    Zazalt\Databaser\Databaser::getInstance()
        ->setEngine(\Zazalt\Omen\Omen::ENGINE_POSTGRESQL)
        //->setHost('127.0.0.1') // If not set, default is 127.0.0.1
        //->setPort()            // If not set, default is 5432 (PostgreSQL default port)
        ->setUsername('your_username')
        ->setPassword('your_password')
        ->setDatabase('your_database_name')
        ->run()
);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19550851?v=4)[Zazalt](/maintainers/Zazalt)[@Zazalt](https://github.com/Zazalt)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/zazalt-databaser/health.svg)

```
[![Health](https://phpackages.com/badges/zazalt-databaser/health.svg)](https://phpackages.com/packages/zazalt-databaser)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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