1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-12-02 09:18:02 +01:00
ext-pq/README.md

39 lines
1.3 KiB
Markdown
Raw Normal View History

2015-06-01 10:37:19 +02:00
# pecl/pq
2014-12-14 16:24:11 +01:00
2015-06-01 10:37:19 +02:00
[![Build Status](https://travis-ci.org/m6w6/ext-pq.svg?branch=master)](https://travis-ci.org/m6w6/ext-pq)
2014-12-14 16:24:11 +01:00
2015-06-01 10:37:19 +02:00
## About:
2014-12-14 16:24:11 +01:00
This is a modern binding to the mature [libpq](http://www.postgresql.org/docs/current/static/libpq.html), the official PostgreSQL C-client library.
2015-06-01 10:37:19 +02:00
### Highlights:
2014-12-14 16:24:11 +01:00
2015-06-01 10:37:19 +02:00
* Nearly 100% support for [asynchronous usage](http://devel-m6w6.rhcloud.com/mdref/pq/pq/Connection/: Asynchronous Usage).
* Extended [type support by pg_type](http://devel-m6w6.rhcloud.com/mdref/pq/pq/Types/: Overview).
* Fetching simple [multi-dimensional array maps](http://devel-m6w6.rhcloud.com/mdref/pq/pq/Result/map).
* Working [Gateway implementation](https://github.com/m6w6/pq-gateway).
2014-12-14 16:24:11 +01:00
2015-06-01 10:37:19 +02:00
## Installation:
2014-12-14 16:24:11 +01:00
2015-06-01 10:37:19 +02:00
This extension is hosted at [PECL](http://pecl.php.net) and can be installed with [PEAR](http://pear.php.net)'s pecl command:
2014-12-14 16:24:11 +01:00
2015-06-01 10:37:19 +02:00
# pecl install pq
2014-12-14 16:24:11 +01:00
2015-06-01 10:37:19 +02:00
Also, watch out for self-installing [pharext](https://github.com/m6w6/pharext) packages attached to [releases](https://github.com/m6w6/ext-pq/releases).
## Dependencies:
2014-12-14 16:24:11 +01:00
This extension unconditionally depends on the pre-loaded presence of the following PHP extensions:
- [raphf](http://pecl.php.net/package/raphf)
- [spl](http://php.net/spl)
2015-06-01 10:37:19 +02:00
It optionally depends on the following extensions:
* [json](http://php.net/json)
## Documentation:
2014-12-14 16:24:11 +01:00
2015-06-01 10:37:19 +02:00
Documentation is available at http://devel-m6w6.rhcloud.com/mdref/pq/