fix typo in link
[mdref/mdref-pq] / pq.md
1 # pecl/pq
2
3 ## About:
4
5 This is a modern binding to the mature [libpq](http://www.postgresql.org/docs/current/static/libpq.html), the official PostgreSQL C-client library.
6
7 ### Highlights:
8
9 * Nearly 100% support for [asynchronous usage](pq/Connection/: Asynchronous Usage).
10 * Extended [type support by pg_type](pq/Types/: Overview).
11 * Fetching simple [multi-dimensional array maps](pq/Result/map).
12 * Working [Gateway implementation](https://bitbucket.org/m6w6/pq-gateway).
13
14 ## Installation:
15
16 This extension is hosted at [PECL](http://pecl.php.net) and can be installed with [PEAR](http://pear.php.net)'s pecl command:
17
18 # pecl install pq
19
20 ### PHARext
21
22 Watch out for [PECL replicates](https://replicator.pharext.org?pq)
23 and pharext packages attached to [releases](https://github.com/m6w6/ext-pq/releases).
24
25 ### Checkout
26
27 git clone github.com:m6w6/ext-pq
28 cd ext-pq
29 /path/to/phpize
30 ./configure --with-php-config=/path/to/php-config
31 make
32 sudo make install
33
34 ## Dependencies:
35
36 This extension unconditionally depends on the pre-loaded presence of the following PHP extensions:
37
38 * raphf
39 * spl
40
41 It optionally depends on the following extensions:
42
43 * json