-
Notifications
You must be signed in to change notification settings - Fork 54
/
composer.json
53 lines (53 loc) · 1.6 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
{
"name": "debril/feed-io",
"description": "PHP library built to consume and serve JSONFeed / RSS / Atom feeds",
"keywords": ["rss", "atom","jsonfeed", "feed", "news", "CLI", "client"],
"homepage": "https://alexdebril.github.io/feed-io/",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Alexandre Debril",
"email": "[email protected]"
}
],
"bin" : [
"bin/feedio"
],
"require": {
"php": ">=8.1",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"psr/log": "~1.0|~2.0|~3.0",
"php-http/httplug": "^2.3",
"nyholm/psr7": "^1.5",
"php-http/discovery": "^1.14",
"psr/http-client-implementation": "*"
},
"require-dev": {
"phpunit/phpunit": "~9.3.0",
"monolog/monolog": "1.*|2.*",
"phpstan/phpstan": "^0.12.81",
"friendsofphp/php-cs-fixer": "^3.5",
"php-http/mock-client": "^1.5"
},
"suggest": {
"monolog/monolog": "Allows to handle logs",
"php-http/guzzle7-adapter": "Handles HTTP requests and responses"
},
"autoload": {
"psr-4": {"FeedIo\\": "src/FeedIo"}
},
"scripts": {
"src:php-stan": "./vendor/bin/phpstan analyse src/ --level 5",
"src:fix": "./vendor/bin/php-cs-fixer fix src",
"src:lint": "./vendor/bin/php-cs-fixer fix --dry-run --diff src",
"src:install-hook": "chmod +x pre-commit.sh && cp pre-commit.sh .git/hooks/pre-commit"
},
"config": {
"preferred-install": {
"*": "dist"
}
}
}