PHPackages                             rstoetter/csmartsqlstatement-php - 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. rstoetter/csmartsqlstatement-php

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

rstoetter/csmartsqlstatement-php
================================

class to manage SQL SELECT statements - analyze and replace clauses

v1.0.32(8y ago)056MITPHPPHP &gt;=7.0

Since Jun 30Pushed 8y agoCompare

[ Source](https://github.com/rstoetter/csmartsqlstatement-php)[ Packagist](https://packagist.org/packages/rstoetter/csmartsqlstatement-php)[ RSS](/packages/rstoetter-csmartsqlstatement-php/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (2)Versions (34)Used By (0)

csmartsqlstatement-php
======================

[](#csmartsqlstatement-php)

The class cSmartSqlStatement is written in PHP and helps to manage SQL statements. You may, for example, extract or add or remove clauses of the query.

The namespace is rstoetter\\cSmartSqlStatement

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

[](#installation)

This project assumes you have composer installed. Simply add:

```
"require" : {

    "rstoetter/csmartsqlstatement-php" : ">=1.0.0"

}

```

to your composer.json, and then you can simply install with:

composer install

more information
----------------

[](#more-information)

See the [project wiki](https://github.com/rstoetter/csmartsqlstatement-php/wiki) for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity69

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

Total

33

Last Release

2963d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24063757?v=4)[Rainer Stötter](/maintainers/rstoetter)[@rstoetter](https://github.com/rstoetter)

---

Top Contributors

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

---

Tags

parserphp7sqlphpparsersqlPHP7sql statement

### Embed Badge

![Health badge](/badges/rstoetter-csmartsqlstatement-php/health.svg)

```
[![Health](https://phpackages.com/badges/rstoetter-csmartsqlstatement-php/health.svg)](https://phpackages.com/packages/rstoetter-csmartsqlstatement-php)
```

###  Alternatives

[ifsnop/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k5.8M74](/packages/ifsnop-mysqldump-php)[greenlion/php-sql-parser

A pure PHP SQL (non validating) parser w/ focus on MySQL dialect of SQL

64112.1M94](/packages/greenlion-php-sql-parser)[clouddueling/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k23.1k](/packages/clouddueling-mysqldump-php)

PHPackages © 2026

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