-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
61 lines (61 loc) · 1.97 KB
/
composer.json
File metadata and controls
61 lines (61 loc) · 1.97 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
{
"name": "ttskch/bulkony",
"description": "Easy and flexible CSV exports and imports in PHP ⚡",
"keywords": ["csv", "excel", "bulk", "csv-export", "csv-import"],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Takashi Kanemoto",
"email": "ttskch@gmail.com"
}
],
"require": {
"php": "^7.4 || ^8.0",
"ext-mbstring": "*",
"league/csv": "^9.8"
},
"require-dev": {
"ext-json": "*",
"bamarni/composer-bin-plugin": "^1.8",
"phpunit/phpunit": "^9.5"
},
"autoload": {
"psr-4": {
"Ttskch\\Bulkony\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ttskch\\Bulkony\\Tests\\": "tests/"
}
},
"scripts": {
"cs": [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"./vendor-bin/tools/vendor/bin/php-cs-fixer fix --config .php-cs-fixer.dist.php --dry-run --diff -v src tests"
],
"cs:fix": [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"./vendor-bin/tools/vendor/bin/php-cs-fixer fix --config .php-cs-fixer.dist.php src tests"
],
"sa": "@php -d memory_limit=-1 ./vendor-bin/tools/vendor/bin/phpstan analyse -c phpstan.neon",
"sa:clear": "@php -d memory_limit=-1 ./vendor-bin/tools/vendor/bin/phpstan clear-result-cache",
"test": "@php -d memory_limit=-1 ./vendor/bin/phpunit",
"test:cov": "@php -d memory_limit=-1 -d zend_extension=xdebug.so -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=build/coverage.xml",
"tests": ["@cs", "@sa", "@test"],
"tests:ci": ["@cs", "@sa", "@test:cov"],
"tests:bc": "@test"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"extra": {
"bamarni-bin": {
"bin-links": false
}
}
}