PHPackages                             pipe/sql - 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. pipe/sql

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

pipe/sql
========

Blazingly fast php sql util

v0.1.0(3y ago)011MITPHP

Since Oct 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/pipephp/sql)[ Packagist](https://packagist.org/packages/pipe/sql)[ Docs](https://github.com/pipephp/sql)[ RSS](/packages/pipe-sql/feed)WikiDiscussions main Synced 1mo ago

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

🔥 Pipe DB SQL is Simple
=======================

[](#-pipe-db-sql-is-simple)

 Simple, purephp blazinglyfast Database helper(?)

 [![Latest Stable Version](https://camo.githubusercontent.com/bf62b23ff813309253f9cdd41978f9500022b6db99589c19b0389942b7578b3f/68747470733a2f2f706f7365722e707567782e6f72672f706970652f73716c2f762f737461626c653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/pipe/sql) [![Total Downloads](https://camo.githubusercontent.com/9d21102e4779939aed8ba5a94835690a32a15c2298e46ca001428ae423adf55d/68747470733a2f2f706f7365722e707567782e6f72672f706970652f73716c2f646f776e6c6f6164733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/pipe/sql) [![License](https://camo.githubusercontent.com/11d9e182ef17975c9f0e2bcebf8d0a7d0d3ead40e9ed63ebc93fe5adba9f3423/68747470733a2f2f706f7365722e707567782e6f72672f706970652f73716c2f6c6963656e73653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/pipe/sql)

---

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

[](#installation)

```
composer require pipe/sql
```

Usage
-----

[](#usage)

Instantiate the class directly, or find a way to *Singletonize* it in your project.

```
$db = (new Pipe\SQL())->connect($host, $user, $pass, $name);
$db->raw("SELECT * FROM users")->all();

```

Philosophy
----------

[](#philosophy)

1. **Small is Beautiful.**
    - Do one thing,
    - Do one thing well.
2. **Get the PoC out ASAP.**
    - Consider your code dead two weeks after inception.
3. **n'joy!**

*sounds familiar?* [It should!](https://en.wikipedia.org/wiki/Unix_philosophy#Origin)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Total

3

Last Release

1303d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/722ac4fa9bd19bc4001932945bf4866d95d71db6841fb646f8d1c4bc7604d64b?d=identicon)[unamatasanatarai](/maintainers/unamatasanatarai)

---

Top Contributors

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

---

Tags

phpsqlphp-databasesimple databasephp sql

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/pipe-sql/health.svg)

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

###  Alternatives

[clouddueling/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k22.9k](/packages/clouddueling-mysqldump-php)[friedolinfoerder/wp-activerecord

An ActiveRecord implementation for WordPress

237.2k](/packages/friedolinfoerder-wp-activerecord)

PHPackages © 2026

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