Skip to content

Commit 103629a

Browse files
committed
chore(composer): 📦 新增自動發現Provider與套件描述
1 parent acc6a50 commit 103629a

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

composer.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
{
22
"name": "hankz/laravel-plus-api",
3+
"description": "Convenient Laravel API response tools and automated error handling functionality are provided.",
34
"type": "library",
45
"license": "MIT",
6+
"keywords": [
7+
"laravel",
8+
"laravel-plus",
9+
"api",
10+
"response"
11+
],
512
"autoload": {
613
"psr-4": {
714
"Hankz\\LaravelPlusApi\\": "src/"
@@ -14,9 +21,14 @@
1421
}
1522
],
1623
"require": {
17-
"php": "^7.4|^8.0"
24+
"php": "^7.4|^8.0",
25+
"laravel/framework": ">=7"
1826
},
19-
"require-dev": {
20-
"laravel/framework": "7"
27+
"extra": {
28+
"laravel": {
29+
"providers": [
30+
"Hankz\\LaravelPlusApi\\LaravelPlusApiServiceProvider"
31+
]
32+
}
2133
}
22-
}
34+
}

0 commit comments

Comments
 (0)