generated from overtrue/php-package
-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathcomposer.json
72 lines (72 loc) · 2.07 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
67
68
69
70
71
72
{
"name": "overtrue/laravel-passport-cache-token",
"description": "Make laravel/passport token cacheable.",
"license": "MIT",
"authors": [
{
"name": "overtrue",
"email": "anzhengchao@gmail.com"
}
],
"require": {
"illuminate/cache": "^8.0|^9.0|^10.0",
"illuminate/contracts": "^8.0|^9.0|^10.0",
"illuminate/database": "^8.0|^9.0|^10.0",
"illuminate/support": "^8.0|^9.0|^10.0",
"illuminate/auth": "^8.0|^9.0|^10.0",
"laravel/passport": "^10.0|^11.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"orchestra/testbench": "^7.0",
"mockery/mockery": "^1.4",
"phpunit/phpunit": "^9.5",
"brainmaestro/composer-git-hooks": "dev-master"
},
"autoload": {
"psr-4": {
"Overtrue\\LaravelPassportCacheToken\\": "./src"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "./tests"
}
},
"extra": {
"hooks": {
"pre-commit": [
"composer test",
"composer check-style"
],
"pre-push": [
"composer test",
"composer check-style"
]
},
"laravel": {
"providers": [
"Overtrue\\LaravelPassportCacheToken\\CacheTokenServiceProvider"
]
}
},
"scripts": {
"post-update-cmd": [
"cghooks update"
],
"post-merge": "composer install",
"post-install-cmd": [
"cghooks add --ignore-lock",
"cghooks update"
],
"cghooks": "vendor/bin/cghooks",
"check-style": "php-cs-fixer fix --using-cache=no --diff --dry-run --ansi",
"fix-style": "php-cs-fixer fix --using-cache=no --ansi",
"test": "vendor/bin/phpunit"
},
"scripts-descriptions": {
"test": "Run all tests.",
"check-style": "Run style checks (only dry run - no fixing!).",
"fix-style": "Run style checks and fix violations."
}
}