imbo/imbo-postgresql-adapters
Composer 安装命令:
composer require imbo/imbo-postgresql-adapters
包简介
PostgreSQL adapters for Imbo
关键字:
README 文档
README
Installation
composer require imbo/imbo-postgresql-adapters
Usage
This package provides PostgreSQL adapters for Imbo using PDO.
$database = new Imbo\Database\PostgreSQL($dsn, $username, $password, $options);
Running integration tests
If you want to run the integration tests you will need a running PostgreSQL service. The repo contains a simple configuration file for Docker Compose that you can use to quickly run a PostgreSQL instance along with pgAdmin.
If you wish to use this, run the following command to start up the service after you have cloned the repo:
docker compose up -d
After the service is running you can execute all tests by simply running PHPUnit:
composer run test # or ./vendor/bin/phpunit
License
MIT, see LICENSE.
统计信息
- 总下载量: 2.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-02