generated from guillermoandrae/php-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
52 lines (52 loc) · 1.56 KB
/
composer.json
File metadata and controls
52 lines (52 loc) · 1.56 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
{
"name": "guillermoandrae/php-lambda-skeleton",
"description": "Skeleton for PHP Lambda functions",
"license": "MIT",
"type": "project",
"minimum-stability": "dev",
"require": {
"php": ">=7.2",
"ext-json": "*",
"mnapoli/bref": "^0.3.9",
"guillermoandrae/php-lambda-api-gateway-response": "*"
},
"autoload": {
"psr-4": {
"Guillermoandrae\\App\\": "src/"
}
},
"require-dev": {
"phpunit/phpunit": "8.*",
"squizlabs/php_codesniffer": "3.*",
"guillermoandrae/php-debug": "^0.2.0"
},
"autoload-dev": {
"psr-4": {
"GuillermoandraeTest\\App\\": "tests/"
}
},
"scripts": {
"check-style": [
"phpcbf --standard=PSR2 --extensions=php src tests",
"phpcs --standard=PSR2 --extensions=php src tests"
],
"test": [
"@check-style",
"phpunit --coverage-text --coverage-clover=./clover.xml"
],
"test-html": [
"@check-style",
"phpunit --coverage-text --coverage-html report",
"php -S localhost:8080 -t report/ > report/phpd.log 2>&1"
],
"invoke": [
"sam local invoke --no-event"
],
"package": [
"sam package --output-template-file .stack.yaml --s3-bucket php-lambda-skeleton --s3-prefix stacks"
],
"deploy": [
"sam deploy --template-file .stack.yaml --capabilities CAPABILITY_IAM --stack-name php-lambda-skeleton"
]
}
}