PHPackages                             nytrix/simplesql - 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. nytrix/simplesql

ActiveLibrary

nytrix/simplesql
================

A php library that makes SQL simple

2172PHP

Since Nov 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/thomaskolmans/SimpleSQL)[ Packagist](https://packagist.org/packages/nytrix/simplesql)[ RSS](/packages/nytrix-simplesql/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

SimpleSQL
=========

[](#simplesql)

*A php library that makes SQL simpel.* Build your applications much faster with *simple* and fast communication to your database.

Why?
----

[](#why)

SimpleSQL is a very lightweight library that will speed up your proccess of creating, selecting, updating and all your other SQL queries. It's a very easy syntax and has also multiple ways of doing your queries, there is a basic set of SQL functions that will work with the documented parameters, but then you can also *build* your own query through our building structure.

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

[](#installation)

We recommend using `composor` to install our library. Look at how to install composor [here](https://getcomposer.org/)

```
composer require nytrix/simplesql
```

You can also download the library and install it manually. Download button will be added when the first official release is there.

Features
--------

[](#features)

- Common SQL queries in easy functions with understandable paramters.
- SQL query builder, so you can make any query with just PHP functions
- Database backup that you can pass it on in other connections
- Multi-driver possibilities
- Mutliple connections available, and easy to communicate between those.

Usage
-----

[](#usage)

*Examples of SQL queries, simply in PHP.*

**Create instance**
Create your SimpleSQL instance, this will be used in the examples below.

```

```

Functions
---------

[](#functions)

**Select**

```
$sql->select("table","column",array("where" => "equals"));
```

**Update**

```
$sql->update("table","column",array("where" => "equals"),"to");
```

**Insert**

```
$sql->insert("table",array("value1","value2","value3"));
```

**Create**

```
$sql->create("table",array("id int auto_increment",name varchar(255)),"id");
```

**Exists**

```
$sql->exists("table",array("where" => "equals"));
```

Full documentation you can find [**here**](https://github.com/thomaskolmans/SimpelSQL/blob/master/docs/README.md)

License
-------

[](#license)

SimpelSQL is under the `MIT` license, read it [here](https://github.com/thomaskolmans/SimpelSQL/blob/master/LICENSE)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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://www.gravatar.com/avatar/2b02d66ccc629b06b09d1e5f3e0bb8f37d04288bfc4ba31c5d37a5dde1ec12e1?d=identicon)[thomaskolmans](/maintainers/thomaskolmans)

---

Top Contributors

[![thomaskolmans](https://avatars.githubusercontent.com/u/16803991?v=4)](https://github.com/thomaskolmans "thomaskolmans (33 commits)")

### Embed Badge

![Health badge](/badges/nytrix-simplesql/health.svg)

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

PHPackages © 2026

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