PHP compat 5-8
[m6w6/ext-json_post] / package.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <package version="2.0" xmlns="http://pear.php.net/dtd/package-2.0"
3 xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 xsi:schemaLocation="
6 http://pear.php.net/dtd/tasks-1.0
7 http://pear.php.net/dtd/tasks-1.0.xsd
8 http://pear.php.net/dtd/package-2.0
9 http://pear.php.net/dtd/package-2.0.xsd">
10 <name>json_post</name>
11 <channel>pecl.php.net</channel>
12 <summary>JSON POST handler</summary>
13 <description><![CDATA[
14 This extension provides a PHP content type handler for "application/json" and
15 "text/json" to PHP's form data parser. If the `Content-Type` of an incoming
16 request is `text/json`, the JSON contents of the request body will by parsed
17 into `$_POST`.
18
19 This extension does not provide any constants, functions or classes.
20 ]]></description>
21 <lead>
22 <name>Michael Wallner</name>
23 <user>mike</user>
24 <email>mike@php.net</email>
25 <active>yes</active>
26 </lead>
27 <date>2021-09-16</date>
28 <version>
29 <release>1.1.0</release>
30 <api>1.0.0</api>
31 </version>
32 <stability>
33 <release>stable</release>
34 <api>stable</api>
35 </stability>
36 <license uri="http://copyfree.org/content/standard/licenses/2bsd/license.txt">BSD-2-Clause</license>
37 <notes><![CDATA[
38 * Fix gh-issue #3:
39 * Add json_post.onerror.response INI entry, specifying whether and which
40 response code to send when `json_decode` fails.
41 * Add json_post.onerror.exit INI entry, specifying whether to exit PHP
42 without running the script when `json_decode` fails.
43 * Add json_post.onerror.warning INI entry, specifying whether to raise
44 a WARNING when `json_decode` fails.
45 ]]></notes>
46 <contents>
47 <dir name="/">
48 <file role="doc" name="AUTHORS"/>
49 <file role="doc" name="CONTRIBUTING.md"/>
50 <file role="doc" name="CREDITS"/>
51 <file role="doc" name="LICENSE"/>
52 <file role="doc" name="README.md"/>
53 <file role="doc" name="THANKS"/>
54 <file role="src" name="config.m4"/>
55 <file role="src" name="config.w32"/>
56
57 <file role="src" name="php_json_post.h"/>
58 <file role="src" name="php_json_post.c"/>
59
60 <dir name="tests">
61 <file role="test" name="001.phpt"/>
62 <file role="test" name="002.phpt"/>
63 <file role="test" name="003.phpt"/>
64 <file role="test" name="004.phpt"/>
65 <file role="test" name="005.phpt"/>
66 <file role="test" name="application.phpt"/>
67 </dir>
68 </dir>
69 </contents>
70 <dependencies>
71 <required>
72 <php>
73 <min>5.3.0</min>
74 </php>
75 <pearinstaller>
76 <min>1.4.1</min>
77 </pearinstaller>
78 <extension>
79 <name>json</name>
80 </extension>
81 </required>
82 </dependencies>
83 <providesextension>json_post</providesextension>
84 <extsrcrelease/>
85 <changelog />
86 </package>