Skip to content

Commit 1ea0bf8

Browse files
committed
update readme
1 parent ebecb39 commit 1ea0bf8

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "harry/php-restful-api-response",
2+
"name": "harryosmar/php-restful-api-response",
33
"description": "php restful api response implement PSR-7: HTTP message interfaces",
44
"type": "library, composer-plugin",
55
"authors": [

readme.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# php restful api response implement PSR-7: HTTP message interfaces
2+
3+
## Requirements
4+
- php >= 5.6
5+
- composer https://getcomposer.org/download/
6+
7+
## How To Setup
8+
- *add this lines to your `composer.json` file*
9+
```
10+
{
11+
"repositories": [
12+
{
13+
"type": "vcs",
14+
"url": "git@github.com:harryosmar/php-restful-api-response.git"
15+
}
16+
],
17+
"require": {
18+
"olxindonesia/plugin-common": "^1.0"
19+
}
20+
}
21+
```
22+
- *then run `composer install` or `composer update`*
23+
24+
## How To Use
25+
Check the use sample in the [test code](https://github.com/harryosmar/php-bootstrap/blob/master/tests/unit/ResponseTest.php)
26+
27+
## How To Run The Test
28+
```
29+
composer test
30+
```
31+
32+
## How To Contribute
33+
- Fork this repo
34+
- post an issue https://github.com/harryosmar/php-restful-api-response/issues
35+
- create the PR(Pull Request) and wait for the review

0 commit comments

Comments
 (0)