From 3a992dd98426727192ef901c7c5e3a58d6944c3f Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 29 Sep 2015 16:35:43 +0200 Subject: [PATCH] standards --- .editorconfig | 16 ++++++++++++++++ .gitignore | 1 + AUTHORS | 1 + CONTRIBUTING.md | 39 +++++++++++++++++++++++++++++++++++++++ LICENSE | 2 +- README.md | 49 +++++++++++++++++++++++++++++++++++++++++-------- THANKS | 3 +++ package.xml | 8 ++++++-- 8 files changed, 108 insertions(+), 11 deletions(-) create mode 100644 .editorconfig create mode 100644 AUTHORS create mode 100644 CONTRIBUTING.md create mode 100644 THANKS diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..84c9933 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.gitignore b/.gitignore index 42e064e..9b78e26 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ tests/*/*.exp tests/*/*.log tests/*/*.sh php_apfd.o +*.tgz diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..67bbd91 --- /dev/null +++ b/AUTHORS @@ -0,0 +1 @@ +Michael Wallner diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..968bd44 --- /dev/null +++ b/CONTRIBUTING.md @@ -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 b49d8ed..f52c89a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2015, Michael Wallner . +Copyright (c) 2015, Michael Wallner . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.md b/README.md index 5fe89b1..f84e0e0 100644 --- 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 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 diff --git a/package.xml b/package.xml index 8dad822..0301d24 100644 --- a/package.xml +++ b/package.xml @@ -33,14 +33,18 @@ This extension does not provide any INI entries, constants, functions or classes stable stable - BSD, revised + BSD-2-Clause - + + + + + -- 2.30.2