forked from shlinkio/shlink-importer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
81 lines (81 loc) · 2.83 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
73
74
75
76
77
78
79
80
81
{
"name": "shlinkio/shlink-importer",
"type": "library",
"homepage": "https://shlink.io",
"description": "Collection of tools to import links from different sources and map them to a shlink-compliant format",
"license": "MIT",
"authors": [
{
"name": "Alejandro Celaya Alastrué",
"homepage": "https://www.alejandrocelaya.com",
"email": "[email protected]"
}
],
"require": {
"php": "^8.2",
"ext-json": "*",
"laminas/laminas-servicemanager": "^4.2 || ^3.22",
"league/csv": "^9.16",
"shlinkio/shlink-config": "^3.1",
"shlinkio/shlink-json": "^1.1",
"symfony/console": "^7.1"
},
"require-dev": {
"guzzlehttp/guzzle": "^7.9",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^11.3",
"psr/http-factory": "^1.1",
"roave/security-advisories": "dev-master",
"shlinkio/php-coding-standard": "~2.4.0",
"symfony/var-dumper": "^7.1"
},
"suggest": {
"psr/http-client": "If you want to be able to import URLs from Bit.ly, YOURLS, Kutt.it or another Shlink instance",
"psr/http-factory": "If you want to be able to import URLs from Bit.ly, YOURLS, Kutt.it or another Shlink instance"
},
"autoload": {
"psr-4": {
"Shlinkio\\Shlink\\Importer\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"ShlinkioTest\\Shlink\\Importer\\": "test"
}
},
"scripts": {
"ci": [
"@cs",
"@stan",
"@test:ci"
],
"cs": "phpcs",
"cs:fix": "phpcbf",
"stan": "phpstan analyse",
"test": "phpunit --order-by=random --testdox --testdox-summary",
"test:ci": [
"@putenv XDEBUG_MODE=coverage",
"@test --coverage-clover=build/clover.xml"
],
"test:pretty": [
"@putenv XDEBUG_MODE=coverage",
"@test --coverage-html=build/coverage-html"
]
},
"scripts-descriptions": {
"ci": "<fg=blue;options=bold>Alias for \"cs\", \"stan\" and \"test:ci\"</>",
"cs": "<fg=blue;options=bold>Checks coding styles</>",
"cs:fix": "<fg=blue;options=bold>Fixes coding styles, when possible</>",
"stan": "<fg=blue;options=bold>Inspects code with phpstan</>",
"test": "<fg=blue;options=bold>Runs unit tests with no coverage reports</>",
"test:ci": "<fg=blue;options=bold>Runs unit tests generating coverage reports and logs</>",
"test:pretty": "<fg=blue;options=bold>Runs unit tests generating coverage reports in html</>"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}