bgli100/rdb-helper
最新稳定版本:v1.3.4
Composer 安装命令:
composer require bgli100/rdb-helper
包简介
Deal with differences within PHP RDBMS APIs. Also provide facade class for global access. It does not try to generalize or simplify writing SQL.
README 文档
README
What to deal with
Tired with PHP's 3 MySQL drivers? Not sure MySQLi or PDO_MySQL?
This wrapper is try to separate client code with ALL driver-specific calls without using any ORM or huge frameworks. It is also procedure-friendly.
Features
- Generator for iteration, client code can just
foreachthe result set without using driver-specific fetch methods - Automatic bind in-params without specifying data types (WARNING not appreciable if client or server is sensitive with
blobandstring) - Optional facades with multiple connections
TODO
- Generated documents
- PDO implementation
- Does not work on HHVM due to both variadic and by reference arguments are not supported
License
MIT
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-07