-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
87 lines (87 loc) · 2.23 KB
/
composer.json
File metadata and controls
87 lines (87 loc) · 2.23 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "synergitech/laravel-magic-enums",
"type": "library",
"license": "MIT",
"homepage": "https://github.com/SynergiTech/laravel-magic-enums",
"description": "A Laravel package that adds extra power to your PHP enums, and lets you use them in your frontend with type definitions.",
"keywords": [
"laravel",
"php",
"enums"
],
"authors": [
{
"name": "Synergi Tech",
"homepage": "http://github.com/SynergiTech"
}
],
"support": {
"issues": "https://github.com/SynergiTech/laravel-magic-enums/issues"
},
"require": {
"php": "^8.2",
"laravel/framework": ">=9.0"
},
"require-dev": {
"larastan/larastan": "^2.0|^3.0",
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0|^11.0",
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpstan/extension-installer": "^1.4",
"phpunit/phpunit": "^9.0|^10.0|^11.0",
"squizlabs/php_codesniffer": "^3.13"
},
"autoload": {
"psr-4": {
"SynergiTech\\MagicEnums\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\": "workbench/app/",
"SynergiTech\\MagicEnums\\Tests\\": "tests/",
"Workbench\\App\\": "workbench/app/",
"Workbench\\Database\\Factories\\": "workbench/database/factories/",
"Workbench\\Database\\Seeders\\": "workbench/database/seeders/"
}
},
"extra": {
"laravel": {
"providers": [
"SynergiTech\\MagicEnums\\MagicEnumsServiceProvider"
]
},
"phpstan": {
"includes": [
"extension.php"
]
}
},
"scripts": {
"analyse": [
"phpstan analyse --memory-limit 2G --level 8 app tests"
],
"lint": [
"parallel-lint --exclude vendor .",
"phpcs --standard=PSR12 src tests"
],
"test": [
"Composer\\Config::disableProcessTimeout",
"@lint",
"XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text",
"@analyse"
],
"post-autoload-dump": [
"@prepare"
],
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"build": "@php vendor/bin/testbench workbench:build --ansi"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}