pro100rost/pdo-connect
Composer 安装命令:
composer require pro100rost/pdo-connect
包简介
You can easy connect to PDO object in this library.
README 文档
README
Easy connect to PDO object.
REQUIREMENTS
- PHP version > 7.0
- Nginx, Apache
INSTALLATION
The preferred way to install this extension is through composer. Check the composer.json for this extension's requirements and dependencies.
Install library:
Enter this command into Terminal:
composer require pro100rost/pdo-connect
Create configuration file:
Create file config.ini in the root directory of your project.
File input (for example):
[database]
dbms = pgsql
db_host = localhost
db_username = test
db_password = 12345678
db_name = test_db
Using:
Create object for class QueryCommand and use one of method.
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-07-04