Skip to content

Commit e40e168

Browse files
committed
Initial commit
0 parents  commit e40e168

File tree

4 files changed

+63
-0
lines changed

4 files changed

+63
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vendor/

LICENSE

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2016 PHP Framework Interoperability Group
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# PSR Http Message Util
2+
3+
This repository holds utility classes and constants to facilitate common
4+
operations of [PSR-7](http://www.php-fig.org/psr/psr-7/); the primary purpose is
5+
to provide constants for referring to request methods, response status codes and
6+
messages, and potentially common headers.
7+
8+
Implementation of PSR-7 interfaces is **not** within the scope of this package.
9+
10+
## Installation
11+
12+
Install by adding the package as a [Composer](https://getcomposer.org)
13+
requirement:
14+
15+
```bash
16+
$ composer require psr/http-message-util
17+
```

composer.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "psr/http-message-util",
3+
"description": "Utility classes and constants for use with PSR-7 (psr/http-message)",
4+
"keywords": ["psr", "psr-7", "http", "http-message", "request", "response"],
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "PHP-FIG",
9+
"homepage": "http://www.php-fig.org/"
10+
}
11+
],
12+
"require": {
13+
"php": "^5.3 || ^7.0",
14+
"psr/http-message": "^1.0"
15+
},
16+
"autoload": {
17+
"psr-4": {
18+
"Psr\\Http\\Message\\": "src/"
19+
}
20+
},
21+
"extra": {
22+
"branch-alias": {
23+
"dev-master": "1.0.x-dev"
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)