1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-11-30 04:19:49 +01:00
ext-pq/README.md

69 lines
1.9 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-12-04 15:38:04 +01: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
2017-09-24 10:17:16 +02:00
* Nearly 100% support for [asynchronous usage](https://mdref.m6w6.name/pq/Connection/:+Asynchronous+Usage).
* Extended [type support by pg_type](https://mdref.m6w6.name/pq/Types/:+Overview).
2015-08-06 10:36:40 +02:00
* Fetching simple [multi-dimensional array maps](https://mdref.m6w6.name/pq/Result/map).
2015-06-01 10:37:19 +02:00
* Working [Gateway implementation](https://github.com/m6w6/pq-gateway).
2014-12-14 16:24:11 +01:00
2015-12-07 08:22:29 +01:00
## Documentation
2014-12-14 16:24:11 +01:00
2015-12-07 08:22:29 +01:00
See the [online markdown reference](https://mdref.m6w6.name/pq).
2014-12-14 16:24:11 +01:00
2015-12-07 08:22:29 +01:00
Known issues are listed in [BUGS](./BUGS) and future ideas can be found in [TODO](./TODO).
2014-12-14 16:24:11 +01:00
2015-12-07 08:22:29 +01:00
## Installing
### PECL
pecl install pq
2016-01-19 08:33:11 +01:00
### PHARext
Watch out for [PECL replicates](https://replicator.pharext.org?pq)
2019-01-24 19:49:11 +01:00
and pharext packages attached to [releases](https://github.com/m6w6/ext-pq/releases).
2015-12-07 08:22:29 +01:00
### Checkout
git clone github.com:m6w6/ext-pq
cd ext-pq
/path/to/phpize
./configure --with-php-config=/path/to/php-config
make
sudo make install
2015-06-01 10:37:19 +02:00
## 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)
2015-12-07 08:22:29 +01:00
## ChangeLog
A comprehensive list of changes can be obtained from the
[PECL website](https://pecl.php.net/package-changelog.php?package=pq).
## License
ext-pq is licensed under the 2-Clause-BSD license, which can be found in
the accompanying [LICENSE](./LICENSE) file.
## Contributing
2015-06-01 10:37:19 +02:00
2015-12-07 08:22:29 +01:00
All forms of contribution are welcome! Please see the bundled
[CONTRIBUTING](./CONTRIBUTING.md) note for the general principles followed.
2014-12-14 16:24:11 +01:00
2015-12-07 08:22:29 +01:00
The list of past and current contributors is maintained in [THANKS](./THANKS).