-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathcomposer.json
50 lines (50 loc) · 1.5 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
{
"name": "php-school/learn-you-php",
"description": "An introduction to PHP's core features: i/o, http, arrays, exceptions and so on.",
"keywords": ["cli", "console", "terminal", "phpschool", "php-school", "workshop", "learning", "education", "php"],
"homepage": "https://www.phpschool.io",
"license": "MIT",
"type": "php-school-workshop",
"authors": [
{
"name": "Aydin Hassan",
"email": "[email protected]"
}
],
"require" : {
"php" : ">=8.0",
"ext-pdo_sqlite": "*",
"php-school/php-workshop": "dev-master",
"ext-sockets": "*"
},
"require-dev": {
"phpstan/phpstan": "^1.9",
"squizlabs/php_codesniffer": "^3.5",
"phpunit/phpunit": "^9.6"
},
"autoload" : {
"psr-4" : {
"PhpSchool\\LearnYouPhp\\": "src"
}
},
"autoload-dev": {
"psr-4": { "PhpSchool\\LearnYouPhpTest\\": "test/" }
},
"bin": ["bin/learnyouphp"],
"scripts" : {
"test": [
"@unit-tests",
"@cs",
"@static"
],
"unit-tests": "phpunit",
"cs" : [
"phpcs src --standard=PSR12",
"phpcs test --standard=PSR12 --ignore='test/solutions'" ],
"cs-fix" : [
"phpcbf src --standard=PSR12 --encoding=UTF-8",
"phpcbf test --standard=PSR12 --encoding=UTF-8 --ignore='test/solutions'"
],
"static": "phpstan --ansi analyse --level max src"
}
}