Skip to content

Commit ebecb39

Browse files
committed
1st setup
0 parents  commit ebecb39

File tree

13 files changed

+2614
-0
lines changed

13 files changed

+2614
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/vendor
2+
/.idea
3+
reports/

composer.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "harry/php-restful-api-response",
3+
"description": "php restful api response implement PSR-7: HTTP message interfaces",
4+
"type": "library, composer-plugin",
5+
"authors": [
6+
{
7+
"name": "Harry Sitohang",
8+
"email": "harryosmarsitohang@gmail.com"
9+
}
10+
],
11+
"require": {
12+
"php": ">=5.6",
13+
"league/fractal": "^0.17.0",
14+
"zendframework/zend-diactoros": "^1.7"
15+
},
16+
"require-dev": {
17+
"fzaninotto/faker": "~1.4",
18+
"mockery/mockery": "0.9.*",
19+
"phpunit/phpunit": "~5.7"
20+
},
21+
"autoload": {
22+
"psr-4": {
23+
"PhpRestfulApiResponse\\": "src/"
24+
}
25+
},
26+
"autoload-dev": {
27+
"psr-4": {
28+
"PhpRestfulApiResponse\\Tests\\": "tests/"
29+
}
30+
},
31+
"scripts": {
32+
"test": "./vendor/bin/phpunit -c phpunit.xml"
33+
}
34+
}

0 commit comments

Comments
 (0)