fix ws
[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.error_response INI entry, specifying whether and which
40 response code to send when `json_decode` fails.
41 * Add json_post.error_exit INI entry, specifying whether to exit PHP
42 without running the script when `json_decode` fails.
43 ]]></notes>
44 <contents>
45 <dir name="/">
46 <file role="doc" name="AUTHORS"/>
47 <file role="doc" name="CONTRIBUTING.md"/>
48 <file role="doc" name="CREDITS"/>
49 <file role="doc" name="LICENSE"/>
50 <file role="doc" name="README.md"/>
51 <file role="doc" name="THANKS"/>
52 <file role="src" name="config.m4"/>
53 <file role="src" name="config.w32"/>
54
55 <file role="src" name="php_json_post.h"/>
56 <file role="src" name="php_json_post.c"/>
57
58 <dir name="tests">
59 <file role="test" name="001.phpt"/>
60 <file role="test" name="002.phpt"/>
61 <file role="test" name="003.phpt"/>
62 <file role="test" name="004.phpt"/>
63 <file role="test" name="005.phpt"/>
64 <file role="test" name="application.phpt"/>
65 </dir>
66 </dir>
67 </contents>
68 <dependencies>
69 <required>
70 <php>
71 <min>5.3.0</min>
72 </php>
73 <pearinstaller>
74 <min>1.4.1</min>
75 </pearinstaller>
76 <extension>
77 <name>json</name>
78 </extension>
79 </required>
80 </dependencies>
81 <providesextension>json_post</providesextension>
82 <extsrcrelease/>
83 <changelog />
84 </package>