-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
84 lines (84 loc) · 2.44 KB
/
composer.json
File metadata and controls
84 lines (84 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "airlst/sdk-php",
"description": "This package is a SDK for handling AirLST Core API calls",
"type": "library",
"authors": [
{
"name": "Jantinn Erezo",
"email": "j.erezo@airlst.com",
"role": "Developer"
}
],
"require": {
"php": "^8.4",
"saloonphp/pagination-plugin": "^2.0",
"saloonphp/saloon": "^4.0"
},
"require-dev": {
"airlst/php-cs-fixer-config": "^3.6",
"airlst/phpstan-config": "dev-master",
"airlst/rector-config": "dev-master",
"crescat-io/saloon-sdk-generator": "^1.6",
"ergebnis/composer-normalize": "^2.47",
"friendsofphp/php-cs-fixer": "^2.0 || ^3.14",
"mockery/mockery": "^1.4",
"orchestra/testbench": "^9.0 || ^10.0",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^8.0 || ^9.0 || ^10.0",
"rector/swiss-knife": "^2.2"
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"AirLST\\SdkPhp\\": "build",
"AirLST\\SdkPhp\\Builder\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"AirLST\\SdkPhp\\Tests\\": "tests"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"pestphp/pest-plugin": true,
"php-http/discovery": true,
"phpstan/extension-installer": true
},
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"build": [
"php build.php",
"@composer rector",
"@composer cs-fixer",
"@composer phpstan"
],
"ci": [
"@composer dump --strict-psr",
"@composer normalize",
"@composer rector",
"@composer cs-fixer",
"@composer phpstan",
"@composer test"
],
"cs-fixer": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --config=.php-cs-fixer.php",
"dev": [
"Composer\\Config::disableProcessTimeout",
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" --names=server,queue,logs"
],
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.php --memory-limit=2G",
"rector": "./vendor/bin/rector",
"test": [
"Composer\\Config::disableProcessTimeout",
"./vendor/bin/phpunit --stop-on-failure"
],
"test-coverage": [
"Composer\\Config::disableProcessTimeout",
"./vendor/bin/phpunit --stop-on-failure --coverage-html /var/www/html/.coverage/backend"
]
}
}