PHPackages                             liu/buildsql - 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. liu/buildsql

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

liu/buildsql
============

build sql by tp5.1 orm

0.0.1(7y ago)010mitPHPPHP &gt;=5.6.0

Since Jan 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/back0893/buildSql)[ Packagist](https://packagist.org/packages/liu/buildsql)[ RSS](/packages/liu-buildsql/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

M构造操作数据库的SQL语句\[curd\]
----------------------

[](#m构造操作数据库的sql语句curd)

Author: Rumble

Url:

### 插件安装

[](#插件安装)

- `composer require liu/buildsql`

### 开发目的

[](#开发目的)

- 由于很多sql构建类需要建立mysql连接，但有的时候我们只想要sql语句，不想与数据库进行连接，这样有一个纯粹的sql构建工具就尤为重要了。
- 当前sql构建工具基于thinkphp5.1 进行开发,目前我只是一些修改

### 操作说明

[](#操作说明)

- 使用该工具无需配置任何数据库信息，不会建立mysql连接
- 使用时直接使用Db类进行生成就可以了

### 不支持的操作方式

[](#不支持的操作方式)

- with,relation ,exception,filed,等操作我全部删除,只留下了可以操作的

### 特别鸣谢

[](#特别鸣谢)

- 感谢thinkphp的开源
-  给我启发

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

2664d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1890e4ab3c850d6ab2651d69646ea3c3b4204d11bb1269e9bafaab3fa2b3d15a?d=identicon)[back0893](/maintainers/back0893)

### Embed Badge

![Health badge](/badges/liu-buildsql/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M543](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M209](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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