-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
44 lines (44 loc) · 1.55 KB
/
composer.json
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
{
"name": "stripe-sdk-customizer/stripe-php",
"type": "composer-plugin",
"license": "GPL-3.0-or-later",
"description": "This composer plugin will help you add custom namespace to Stripe SDK using PHPScoper.",
"homepage": "https://www.mehulgohil.in",
"require": {
"composer/installers": "~1.2",
"stripe/stripe-php": "^6.34.5"
},
"require-dev": {
"humbug/php-scoper": "^0.11.4"
},
"keywords": [
"wordpress",
"plugin",
"stripe",
"stripe-php"
],
"support": {
"issues": "/~https://github.com/mehul0810/stripe-sdk-customiser/issues"
},
"autoload": {
"psr-4": {
"WP\\Stripe\\": "vendor/stripe/stripe-php/lib"
}
},
"scripts": {
"post-install-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs || true",
"vendor/bin/php-scoper add-prefix --output-dir=vendor_prefixed/stripe/stripe-php",
"cp -R vendor_prefixed/stripe/ vendor/stripe/",
"composer dump-autoload --optimize --classmap-authoritative",
"rm -rf vendor_prefixed"
],
"post-update-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs || true",
"vendor/bin/php-scoper add-prefix --output-dir=vendor_prefixed/stripe/stripe-php",
"cp -R vendor_prefixed/stripe/ vendor/stripe/",
"composer dump-autoload --optimize --classmap-authoritative",
"rm -rf vendor_prefixed"
]
}
}