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

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

phramework/database
===================

phramework's database library

v4.0.0(4y ago)329.4k↓79.5%[4 issues](https://github.com/phramework/database/issues)[2 PRs](https://github.com/phramework/database/pulls)1Apache-2.0PHPPHP &gt;=7.2

Since Jan 3Pushed 4y ago3 watchersCompare

[ Source](https://github.com/phramework/database)[ Packagist](https://packagist.org/packages/phramework/database)[ Docs](https://phramework.github.io/)[ RSS](/packages/phramework-database/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (5)Versions (19)Used By (1)

phramework/database
===================

[](#phrameworkdatabase)

> phramework's database library

[![Build Status](https://camo.githubusercontent.com/2b15a82cf67b1482d5e12276dced28fe5913cd080ea1b9366c1b571c8e4a7f3b/68747470733a2f2f7472617669732d63692e6f72672f706872616d65776f726b2f64617461626173652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phramework/database)

Usage
-----

[](#usage)

Require package using composer

```
composer require phramework/database
```

Development
-----------

[](#development)

### Install dependencies

[](#install-dependencies)

```
composer update
```

### Test and lint code

[](#test-and-lint-code)

```
composer lint
composer test
```

License
-------

[](#license)

Copyright 2015-2016 Xenofon Spafaridis

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

```
http://www.apache.org/licenses/LICENSE-2.0

```

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

30

—

LowBetter than 61% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Recently: every ~495 days

Total

13

Last Release

1802d ago

Major Versions

0.1.1 → 1.0.0-RC2016-03-27

0.1.4 → 1.0.0-RC22019-07-19

1.0.0-RC2 → 2.x-dev2019-07-24

2.x-dev → v4.0.02021-09-08

PHP version history (3 changes)0.0.0PHP &gt;=5.6

1.0.0-RCPHP &gt;=7

v4.0.0PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/432379?v=4)[Xenofon Spafaridis](/maintainers/nohponex)[@nohponex](https://github.com/nohponex)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

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

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

2920.0k](/packages/voku-session2db)

PHPackages © 2026

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