Skip to content

Commit f7f3b87

Browse files
authored
Merge pull request #65 from Sammyjo20/feature/cleanup-composer-json
Fix | Cleanup Composer.json
2 parents 82a4569 + d7284ee commit f7f3b87

File tree

1 file changed

+33
-19
lines changed

1 file changed

+33
-19
lines changed

composer.json

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,57 @@
11
{
22
"name": "sammyjo20/saloon",
33
"description": "A Laravel/PHP package that allows you to write your API integrations or SDKs in a beautiful, standardised syntax.",
4-
"type": "library",
54
"license": "MIT",
6-
"autoload": {
7-
"psr-4": {
8-
"Sammyjo20\\Saloon\\": "src/",
9-
"Sammyjo20\\Saloon\\Tests\\": "tests/"
10-
}
11-
},
5+
"type": "library",
6+
"keywords": [
7+
"sammyjo20",
8+
"saloon",
9+
"sdk",
10+
"api",
11+
"api-integrations"
12+
],
1213
"authors": [
1314
{
14-
"name": "Sammyjo20",
15-
"email": "29132017+Sammyjo20@users.noreply.github.com"
15+
"name": "Sam Carré",
16+
"email": "29132017+Sammyjo20@users.noreply.github.com",
17+
"role": "Developer"
1618
}
1719
],
18-
"minimum-stability": "stable",
20+
"homepage": "https://github.com/sammyjo20/saloon",
1921
"require": {
2022
"php": "^8.0",
2123
"guzzlehttp/guzzle": "^7.4",
22-
"illuminate/support": "^8.0|^9.0",
24+
"illuminate/support": "^8.0 || ^9.0",
2325
"nesbot/carbon": "^2.58"
2426
},
2527
"require-dev": {
2628
"friendsofphp/php-cs-fixer": "^3.5",
2729
"pestphp/pest": "^1.21",
2830
"spatie/ray": "^1.33"
2931
},
30-
"scripts": {
31-
"test": [
32-
"./vendor/bin/pest"
33-
],
34-
"fix-code": [
35-
"./vendor/bin/php-cs-fixer fix"
36-
]
32+
"minimum-stability": "stable",
33+
"autoload": {
34+
"psr-4": {
35+
"Sammyjo20\\Saloon\\": "src/"
36+
}
37+
},
38+
"autoload-dev": {
39+
"psr-4": {
40+
"Sammyjo20\\Saloon\\Tests\\": "tests/"
41+
}
3742
},
3843
"config": {
3944
"allow-plugins": {
40-
"pestphp/pest-plugin": true
45+
"pestphp/pest-plugin": true,
46+
"sort-packages": true
4147
}
48+
},
49+
"scripts": {
50+
"fix-code": [
51+
"./vendor/bin/php-cs-fixer fix"
52+
],
53+
"test": [
54+
"./vendor/bin/pest"
55+
]
4256
}
4357
}

0 commit comments

Comments
 (0)