-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.xml
125 lines (119 loc) · 4.8 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.4" 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>Hal</name>
<channel>zircote.com/pear</channel>
<summary>A PHP library for HAL generation</summary>
<description>HAL is a simple way of linking with JSON or XML.
It provides a set of conventions for expressing hyperlinks to, and embeddedness of, related resources - the rest of a HAL document is just plain old JSON or XML.
HAL is a bit like HTML for machines, in that it is designed to drive many different types of application. The difference is that HTML is intended for presenting a graphical hypertext interface to a 'human actor', whereas HAL is intended for presenting a machine hypertext interface to 'automated actors'.
This document contains a formalised specification of HAL. For a friendlier, more pracitcal introduction to HAL you can read this article: JSON Linking with HAL
HAL has two main components: Resources and Links.
- https://github.com/zircote/Hal
- http://groups.google.com/group/hal-discuss
- http://stateless.co/hal_specification.html
- http://blog.stateless.co/post/13296666138/json-linking-with-hal
- http://www.mnot.net/blog/2011/11/25/linking_in_json
- https://gist.github.com/2289546
</description>
<lead>
<name>Robert Allen</name>
<user>zircote</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2013-04-03</date>
<time>13:21:14</time>
<version>
<release>0.3.3</release>
<api>0.3.3</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</license>
<notes>
This is an alpha release, see readme.md for examples.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
<dir name="library">
<dir name="Hal">
<file baseinstalldir="/" name="AbstractHal.php" role="php">
<tasks:replace from="@name@" to="name" type="package-info" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" name="Link.php" role="php">
<tasks:replace from="@name@" to="name" type="package-info" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" name="Resource.php" role="php">
<tasks:replace from="@name@" to="name" type="package-info" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /library/Hal -->
</dir> <!-- /library -->
<dir name="tests">
<dir name="library">
<dir name="Hal">
<file baseinstalldir="/" name="LinkTest.php" role="test">
<tasks:replace from="@name@" to="name" type="package-info" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" name="ResourceTest.php" role="test">
<tasks:replace from="@name@" to="name" type="package-info" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/library/Hal -->
</dir> <!-- /tests/library -->
<file baseinstalldir="/" name="bootstrap.php" role="test">
<tasks:replace from="@name@" to="name" type="package-info" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests -->
<file baseinstalldir="/" name="CHANGELOG" role="doc" />
<file baseinstalldir="/" name="Hal.iml" role="data" />
<file baseinstalldir="/" name="LICENSE-2.0.txt" role="doc" />
<file baseinstalldir="/" name="readme.md" role="doc" />
<file baseinstalldir="/" name="VERSION" role="doc" />
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>5.3.3</min>
</php>
<pearinstaller>
<min>1.7.0</min>
</pearinstaller>
</required>
</dependencies>
<phprelease>
<filelist>
<install as="Hal/AbstractHal.php" name="library/Hal/AbstractHal.php" />
<install as="Hal/Link.php" name="library/Hal/Link.php" />
<install as="Hal/Resource.php" name="library/Hal/Resource.php" />
</filelist>
</phprelease>
<phprelease />
<changelog>
<release>
<version>
<release>0.3.3</release>
<api>0.3.3</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2013-04-03</date>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</license>
<notes>
This is an alpha release, see readme.md for examples.
</notes>
</release>
</changelog>
</package>