mirror of
https://github.com/danog/ext-pq.git
synced 2024-11-26 20:04:44 +01:00
repo template
This commit is contained in:
parent
e125f60f2c
commit
a631e51c1e
23
.editorconfig
Normal file
23
.editorconfig
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
; see http://editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
indent_style = tab
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.json]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[package.xml]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 1
|
||||||
|
|
||||||
|
[config.w32]
|
||||||
|
end_of_line = crlf
|
39
CONTRIBUTING.md
Normal file
39
CONTRIBUTING.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Contributor Code of Conduct
|
||||||
|
|
||||||
|
As contributors and maintainers of this project, and in the interest of
|
||||||
|
fostering an open and welcoming community, we pledge to respect all people who
|
||||||
|
contribute through reporting issues, posting feature requests, updating
|
||||||
|
documentation, submitting pull requests or patches, and other activities.
|
||||||
|
|
||||||
|
We are committed to making participation in this project a harassment-free
|
||||||
|
experience for everyone, regardless of level of experience, gender, gender
|
||||||
|
identity and expression, sexual orientation, disability, personal appearance,
|
||||||
|
body size, race, ethnicity, age, religion, or nationality.
|
||||||
|
|
||||||
|
Examples of unacceptable behavior by participants include:
|
||||||
|
|
||||||
|
* The use of sexualized language or imagery
|
||||||
|
* Personal attacks
|
||||||
|
* Trolling or insulting/derogatory comments
|
||||||
|
* Public or private harassment
|
||||||
|
* Publishing other's private information, such as physical or electronic
|
||||||
|
addresses, without explicit permission
|
||||||
|
* Other unethical or unprofessional conduct.
|
||||||
|
|
||||||
|
Project maintainers have the right and responsibility to remove, edit, or reject
|
||||||
|
comments, commits, code, wiki edits, issues, and other contributions that are
|
||||||
|
not aligned to this Code of Conduct. By adopting this Code of Conduct, project
|
||||||
|
maintainers commit themselves to fairly and consistently applying these
|
||||||
|
principles to every aspect of managing this project. Project maintainers who do
|
||||||
|
not follow or enforce the Code of Conduct may be permanently removed from the
|
||||||
|
project team.
|
||||||
|
|
||||||
|
This code of conduct applies both within project spaces and in public spaces
|
||||||
|
when an individual is representing the project or its community.
|
||||||
|
|
||||||
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||||
|
reported by opening an issue or contacting one or more of the project maintainers.
|
||||||
|
|
||||||
|
This Code of Conduct is adapted from the
|
||||||
|
[Contributor Covenant](http://contributor-covenant.org), version 1.2.0,
|
||||||
|
available at http://contributor-covenant.org/version/1/2/0/.
|
40
README.md
40
README.md
@ -13,13 +13,29 @@ This is a modern binding to the mature [libpq](http://www.postgresql.org/docs/cu
|
|||||||
* Fetching simple [multi-dimensional array maps](https://mdref.m6w6.name/pq/Result/map).
|
* Fetching simple [multi-dimensional array maps](https://mdref.m6w6.name/pq/Result/map).
|
||||||
* Working [Gateway implementation](https://github.com/m6w6/pq-gateway).
|
* Working [Gateway implementation](https://github.com/m6w6/pq-gateway).
|
||||||
|
|
||||||
## Installation:
|
## Documentation
|
||||||
|
|
||||||
This extension is hosted at [PECL](http://pecl.php.net) and can be installed with [PEAR](http://pear.php.net)'s pecl command:
|
See the [online markdown reference](https://mdref.m6w6.name/pq).
|
||||||
|
|
||||||
# pecl install pq
|
Known issues are listed in [BUGS](./BUGS) and future ideas can be found in [TODO](./TODO).
|
||||||
|
|
||||||
Also, watch out for self-installing [pharext](https://github.com/m6w6/pharext) packages attached to [releases](https://github.com/m6w6/ext-pq/releases).
|
## Installing
|
||||||
|
|
||||||
|
### PECL
|
||||||
|
|
||||||
|
pecl install pq
|
||||||
|
|
||||||
|
Watch out for [PECL replicates](https://replicator.pharext.org?pq)
|
||||||
|
and pharext packages attached to [releases](./releases).
|
||||||
|
|
||||||
|
### 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
|
||||||
|
|
||||||
## Dependencies:
|
## Dependencies:
|
||||||
|
|
||||||
@ -32,7 +48,19 @@ It optionally depends on the following extensions:
|
|||||||
|
|
||||||
* [json](http://php.net/json)
|
* [json](http://php.net/json)
|
||||||
|
|
||||||
|
## ChangeLog
|
||||||
|
|
||||||
## Documentation:
|
A comprehensive list of changes can be obtained from the
|
||||||
|
[PECL website](https://pecl.php.net/package-changelog.php?package=pq).
|
||||||
|
|
||||||
Documentation is available at https://mdref.m6w6.name/pq
|
## License
|
||||||
|
|
||||||
|
ext-pq is licensed under the 2-Clause-BSD license, which can be found in
|
||||||
|
the accompanying [LICENSE](./LICENSE) file.
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
All forms of contribution are welcome! Please see the bundled
|
||||||
|
[CONTRIBUTING](./CONTRIBUTING.md) note for the general principles followed.
|
||||||
|
|
||||||
|
The list of past and current contributors is maintained in [THANKS](./THANKS).
|
||||||
|
4
THANKS
Normal file
4
THANKS
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Thanks go to the following people, who have contributed to this project:
|
||||||
|
|
||||||
|
Remi Collet
|
||||||
|
Chris Wright
|
22
package.xml
22
package.xml
@ -1,14 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<package
|
<package version="2.0" xmlns="http://pear.php.net/dtd/package-2.0"
|
||||||
packagerversion="1.4.11"
|
|
||||||
version="2.0"
|
|
||||||
xmlns="http://pear.php.net/dtd/package-2.0"
|
|
||||||
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"
|
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
|
xsi:schemaLocation="
|
||||||
http://pear.php.net/dtd/tasks-1.0.xsd
|
http://pear.php.net/dtd/tasks-1.0
|
||||||
http://pear.php.net/dtd/package-2.0
|
http://pear.php.net/dtd/tasks-1.0.xsd
|
||||||
http://pear.php.net/dtd/package-2.0.xsd">
|
http://pear.php.net/dtd/package-2.0
|
||||||
|
http://pear.php.net/dtd/package-2.0.xsd">
|
||||||
<name>pq</name>
|
<name>pq</name>
|
||||||
<channel>pecl.php.net</channel>
|
<channel>pecl.php.net</channel>
|
||||||
<summary>PostgreSQL client library (libpq) binding</summary>
|
<summary>PostgreSQL client library (libpq) binding</summary>
|
||||||
@ -46,14 +44,18 @@ http://pear.php.net/dtd/package-2.0.xsd">
|
|||||||
<release>beta</release>
|
<release>beta</release>
|
||||||
<api>stable</api>
|
<api>stable</api>
|
||||||
</stability>
|
</stability>
|
||||||
<license>BSD, revised</license>
|
<license uri="http://copyfree.org/content/standard/licenses/2bsd/license.txt">BSD-2-Clause</license>
|
||||||
<notes><![CDATA[
|
<notes><![CDATA[
|
||||||
* Stable release for PHP 5.4 - 5.6
|
* Stable release for PHP 5.4 - 5.6
|
||||||
]]></notes>
|
]]></notes>
|
||||||
<contents>
|
<contents>
|
||||||
<dir name="/">
|
<dir name="/">
|
||||||
|
<file role="doc" name="AUTHORS" />
|
||||||
|
<file role="doc" name="BUGS" />
|
||||||
|
<file role="doc" name="CONTRIBUTING.md" />
|
||||||
<file role="doc" name="CREDITS" />
|
<file role="doc" name="CREDITS" />
|
||||||
<file role="doc" name="LICENSE" />
|
<file role="doc" name="LICENSE" />
|
||||||
|
<file role="doc" name="THANKS" />
|
||||||
<file role="doc" name="TODO" />
|
<file role="doc" name="TODO" />
|
||||||
<file role="doc" name="README.md" />
|
<file role="doc" name="README.md" />
|
||||||
<file role="src" name="config.m4" />
|
<file role="src" name="config.m4" />
|
||||||
|
Loading…
Reference in New Issue
Block a user