PHPackages                             thipages/quicksql - 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. thipages/quicksql

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

thipages/quicksql
=================

Quick sql builder

v0.1.3(3y ago)13911MITPHP

Since Apr 5Pushed 3y ago1 watchersCompare

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

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

quicksql
========

[](#quicksql)

Quick sql builder

### Installation

[](#installation)

**composer** require thipages\\quicksql OR use the single php file **quicksql.php**

### Usage of QSql class

[](#usage-of-qsql-class)

#### Through the following static methods (more to come)

[](#through-the-following-static-methods-more-to-come)

```
    insert  ($tableName, $keyValues)
    insert  ($tableName, $keyValues, $values)
    update  ($tableName, $keyValues, $where)
    delete  ($tableName, $where)
```

#### Examples

[](#examples)

```
 $sql=QSql::insert(
    "aTable",
    [
      'field1'=>1
      'field2'=>2
   ]
 );
 /* INSERT INTO aTable ( field1,field2 ) VALUES ( '1', '2' ); */

$sql=QSql::insert(
   "aTable",
   ['field1','field2'],
   [
      [1,2],
      [3,4]
   ]
);
/* INSERT INTO aTable ( field1,field2 ) VALUES ( '1','2' ),( '3','4' ); */

$sql=QSql::update(
   "aTable",
   [
      'field1'=>1,
      'field2'=>2
   ],
   "id=1"
);
 /* UPDATE aTable SET field1='1',field2='2' WHERE id=1; */

 $sql=QSql::delete("aTable","id=1");
 /* DELETE FROM aTable WHERE id=1; */
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.7% 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 ~513 days

Total

3

Last Release

1206d ago

### Community

Maintainers

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

---

Top Contributors

[![thipages](https://avatars.githubusercontent.com/u/130309?v=4)](https://github.com/thipages "thipages (18 commits)")[![sumonst21](https://avatars.githubusercontent.com/u/7096865?v=4)](https://github.com/sumonst21 "sumonst21 (1 commits)")

---

Tags

deleteinsertphpquickselectupdatephpsqlselectupdatedeleteinsert

### Embed Badge

![Health badge](/badges/thipages-quicksql/health.svg)

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

###  Alternatives

[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4572.9M34](/packages/aura-sqlquery)[atlas/query

Object-oriented query builders and performers for MySQL, Postgres, SQLite, and SQLServer.

41249.0k7](/packages/atlas-query)[bentools/where

PHP7.1 Fluent, immutable SQL query builder. Connectionless, framework-agnostic, no dependency.

125.2k2](/packages/bentools-where)[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)
