PHPackages                             eugeniypetrov/mysql - 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. eugeniypetrov/mysql

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

eugeniypetrov/mysql
===================

Very simple mysql client library based on PDO with placeholders support.

04PHP

Since Feb 5Pushed 12y ago1 watchersCompare

[ Source](https://github.com/EugeniyPetrov/mysql)[ Packagist](https://packagist.org/packages/eugeniypetrov/mysql)[ RSS](/packages/eugeniypetrov-mysql/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

mysql
=====

[](#mysql)

Very simple mysql client library based on PDO with placeholders support.

Example:

```
$db = new \EugeniyPetrov\Mysql('127.0.0.1', 3306, 'root', '', 'test', 'utf8');
echo $db->one('SELECT NOW()') . "\n";

print_r($db->all('SHOW TABLES LIKE :prefix', array(
    'prefix' => 'a%',
)));

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

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/2155621?v=4)[Eugeniy Petrov](/maintainers/EugeniyPetrov)[@EugeniyPetrov](https://github.com/EugeniyPetrov)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/eugeniypetrov-mysql/health.svg)

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

###  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)
