Skip to content

Commit 9657e14

Browse files
committed
Initial commit
0 parents  commit 9657e14

File tree

4 files changed

+9314
-0
lines changed

4 files changed

+9314
-0
lines changed

LICENSE

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Copyright (c) 2021 API Skeletons, Inc.
2+
Copyright (c) 2020 Laminas Project a Series of LF Projects, LLC.
3+
4+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5+
6+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7+
8+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9+
10+
Neither the name of Laminas Foundation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11+
12+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# API Problem for Laravel
2+
3+
This repository implements [RFC 7807](https://www.rfc-editor.org/rfc/rfc7807.html)
4+
"Problem Details for HTTP APIs"
5+
6+

composer.json

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "api-skeletons/laravel-api-problem",
3+
"description": "API Problem for Laravel",
4+
"type": "library",
5+
"license": "BSD-3-Clause",
6+
"keywords": [
7+
"api-problem",
8+
"laravel",
9+
"rest"
10+
],
11+
"homepage": "https://apiskeletons.com",
12+
"support": {
13+
"docs": "https://github.com/api-skeletons/laravel-api-problem",
14+
"issues": "https://github.com/api-skeletons/laravel-api-problem/issues",
15+
"source": "https://github.com/api-skeletons/laravel-api-problem",
16+
"chat": "https://gitter.im/API-Skeletons/open-source"
17+
},
18+
"config": {
19+
"sort-packages": true
20+
},
21+
"autoload": {
22+
"psr-4": {
23+
"ApiSkeletons\\Laravel\\ApiProblem\\": "src/"
24+
}
25+
},
26+
"autoload-dev": {
27+
"psr-4": {
28+
"ApiSkeletonsTest\\Laravel\\ApiProblem\\": "test/"
29+
}
30+
},
31+
"authors": [
32+
{
33+
"name": "Tom H Anderson",
34+
"email": "[email protected]"
35+
}
36+
],
37+
"extra": {
38+
"laravel": {
39+
"providers": [
40+
"ApiSkeletons\\Laravel\\ApiProblem\\ServiceProvider"
41+
]
42+
}
43+
},
44+
"scripts": {
45+
"test": "vendor/bin/phpcs && vendor/bin/phpunit && vendor/bin/psalm"
46+
},
47+
"require": {
48+
"php": "^8.0",
49+
"laravel/framework": "^8.80"
50+
},
51+
"require-dev": {
52+
"doctrine/coding-standard": "^9.0",
53+
"doctrine/dbal": "^3.1.1",
54+
"orchestra/testbench": "^6.23",
55+
"phpunit/phpunit": "^9.5",
56+
"vimeo/psalm": "^4.15"
57+
}
58+
}

0 commit comments

Comments
 (0)