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