standards
authorMichael Wallner <mike@php.net>
Tue, 29 Sep 2015 14:35:43 +0000 (16:35 +0200)
committerMichael Wallner <mike@php.net>
Tue, 29 Sep 2015 14:35:43 +0000 (16:35 +0200)
.editorconfig [new file with mode: 0644]
.gitignore
AUTHORS [new file with mode: 0644]
CONTRIBUTING.md [new file with mode: 0644]
LICENSE
README.md
THANKS [new file with mode: 0644]
package.xml

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..84c9933
--- /dev/null
@@ -0,0 +1,16 @@
+; 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
index 42e064e1c156e77f72b7de2226c88ed1d56b8e2b..9b78e268deeaa3cf02e254b5cf9800c019b8e7ce 100644 (file)
@@ -34,3 +34,4 @@ tests/*/*.exp
 tests/*/*.log
 tests/*/*.sh
 php_apfd.o
+*.tgz
diff --git a/AUTHORS b/AUTHORS
new file mode 100644 (file)
index 0000000..67bbd91
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1 @@
+Michael Wallner <mike@php.net>
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644 (file)
index 0000000..968bd44
--- /dev/null
@@ -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/.
diff --git a/LICENSE b/LICENSE
index b49d8ed16f5ebf192d806348695aeb0f2e2546b5..f52c89a6784501332be46a0941c49b5769386091 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2015, Michael Wallner <mike@iworks.at>.
+Copyright (c) 2015, Michael Wallner <mike@php.net>.
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
index 5fe89b143f426dd1c0c90cda10eece61e41c4847..f84e0e01ea84e07e8dccd6269b633076d279bd5c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,12 +1,45 @@
-# PECL :: apfd
+# ext-apfd
 
-Always Populate Form Data [![Build Status](https://travis-ci.org/m6w6/ext-apfd.svg?branch=master)](https://travis-ci.org/m6w6/ext-apfd)
+[![Build Status](https://travis-ci.org/m6w6/ext-apfd.svg?branch=master)](https://travis-ci.org/m6w6/ext-apfd)
 
-## About
+Always Populate Form Data
 
-This tiny extension lets PHP's post handler parse multipart/form-data and
-application/x-www-form-urlencoded (or any other customly registered form data
-handler, like [json_post](http://github.com/m6w6/ext-json_post)) without
-regard to the request's request method.
+## Documentation
 
-This extension does not provide any INI entries, constants, functions or classes.
+See the [online markdown reference](https://mdref.m6w6.name/apfd).
+## Installing
+
+### PECL
+
+       pecl install apfd
+
+### PHARext
+
+Watch out for [PECL replicates](https://replicator.pharext.org?apfd)
+and pharext packages attached to [releases](./releases).
+
+### Checkout
+
+       git clone github.com:m6w6/ext-apfd
+       cd ext-apfd
+       /path/to/phpize
+       ./configure --with-php-config=/path/to/php-config
+       make
+       sudo make install
+
+## ChangeLog
+
+A comprehensive list of changes can be obtained from the
+[PECL website](https://pecl.php.net/package-changelog.php?package=apfd).
+
+## License
+
+ext-apfd 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).
diff --git a/THANKS b/THANKS
new file mode 100644 (file)
index 0000000..a0f6c9f
--- /dev/null
+++ b/THANKS
@@ -0,0 +1,3 @@
+Thanks go to the following people, who have contributed to this project:
+
+Remi Collet
index 8dad8228c45eb8002d4aea12f89772121e877fd3..0301d24c0b639f65d226db7d15ab557bc80de90b 100644 (file)
@@ -33,14 +33,18 @@ This extension does not provide any INI entries, constants, functions or classes
   <release>stable</release>
   <api>stable</api>
  </stability>
- <license>BSD, revised</license>
+ <license uri="http://copyfree.org/content/standard/licenses/2bsd/license.txt">BSD-2-Clause</license>
  <notes><![CDATA[
 * Fix bug where non-POST payloads with mixed case boundaries would not be parsed
 ]]></notes>
  <contents>
   <dir name="/">
-   <file role="doc" name="LICENSE"/>
+   <file role="doc" name="AUTHORS"/>
+   <file role="doc" name="CONTRIBUTING.md"/>
    <file role="doc" name="CREDITS"/>
+   <file role="doc" name="LICENSE"/>
+   <file role="doc" name="README.md"/>
+   <file role="doc" name="THANKS"/>
    <file role="src" name="config.m4"/>
    <file role="src" name="config.w32"/>