-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
66 lines (66 loc) · 1.89 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "thtg88/laravel-contact-request",
"type": "library",
"description": "A package to send a contact request email.",
"license": "MIT",
"authors": [
{
"name": "Marco Marassi",
"email": "[email protected]"
}
],
"require": {
"php": "^7.3|^8.0",
"anhskohbo/no-captcha": "^3.0",
"fruitcake/laravel-cors": "^1.0 || ^2.0",
"laravel/framework": "^7.0.0 || ^8.0.0 || ^9.0.0"
},
"autoload": {
"psr-4": {
"Thtg88\\ContactRequest\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Thtg88\\ContactRequest\\Tests\\": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"mockery/mockery": "^1.3",
"brainmaestro/composer-git-hooks": "^2.8",
"phpstan/phpstan": "^1.5.4",
"orchestra/testbench": "^6.0",
"tightenco/tlint": "^6.2.2",
"friendsofphp/php-cs-fixer": "^2.17"
},
"extra": {
"hooks": {
"pre-commit": "vendor/bin/tlint lint resources/views"
},
"laravel": {
"providers": [
"Thtg88\\ContactRequest\\ContactRequestServiceProvider"
]
}
},
"scripts": {
"post-install-cmd": [
"[[ -d .git ]] && vendor/bin/cghooks add --no-lock || true"
],
"post-update-cmd": [
"[[ -d .git ]] && vendor/bin/cghooks update || true"
],
"ci": [
"@stan",
"@test --stop-on-failure"
],
"check-style": [
"vendor/bin/php-cs-fixer fix --using-cache=no --diff --dry-run",
"vendor/bin/tlint lint resources/views"
],
"fix-style": "vendor/bin/php-cs-fixer fix --using-cache=no",
"stan": "vendor/bin/phpstan analyse --memory-limit=512M",
"test": "vendor/bin/phpunit"
}
}