-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathcomposer.json
More file actions
executable file
·51 lines (51 loc) · 1.17 KB
/
Copy pathcomposer.json
File metadata and controls
executable file
·51 lines (51 loc) · 1.17 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
{
"name": "payjp/payjp-php",
"description": "Payjp PHP Library",
"keywords": [
"payjp",
"payment processing",
"api"
],
"homepage": "https://pay.jp/",
"license": "MIT",
"authors": [
{
"name": "Payjp and contributors",
"homepage": "https://github.com/payjp/payjp-php/graphs/contributors"
}
],
"require": {
"php": ">=5.6",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*"
},
"require-dev": {
"phpunit/phpunit": "~5.7 || ~9.5",
"squizlabs/php_codesniffer": "~3.6"
},
"autoload": {
"psr-4": { "Payjp\\" : "lib/" }
},
"extra": {
"branch-alias": {
"dev-master": "0.1.*-dev"
}
},
"scripts": {
"test": [
"phpcs --standard=PSR2 -n lib tests *.php",
"phpunit"
],
"fix": [
"@php -r \"if (PHP_VERSION_ID < 70400) { echo 'PHP 7.4 or higher is required. Current version: ' . PHP_VERSION . PHP_EOL; exit(1); }\"",
"PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes"
]
},
"config": {
"platform-check": false
},
"suggest": {
"friendsofphp/php-cs-fixer": "Required for the fix command (requires PHP >= 7.4)"
}
}