indgy/phluent
Composer 安装命令:
composer require indgy/phluent
包简介
A dependency free lightweight fluent SQL query builder using PDO
README 文档
README
A dependency free lightweight fluent SQL query builder using PDO similar to Eloquent, allows you to query your database fluently:
$query->select('title, year') ->from('movies') ->where(function($query) { $query->where('title', 'like' ,'A %'); $query->orWhere('title', 'like' ,'The %'); }) ->orderBy('year');
Install
Phluent can be used as a composer package or a single file download and included() into your project.
Via Composer
$ composer require indgy/phluent
As a standalone file
cp dist/Phluent.php /path/to/your/project
Then require it where needed in your project
require("/path/to/your/project/Phluent.php");
Usage
See the documentation for details.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ make test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email me@indgy.uk instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-26