composer.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "freshrss.org/freshrss",
  3. "description": "A free, self-hostable aggregator",
  4. "type": "project",
  5. "homepage": "https://freshrss.org/",
  6. "license": "AGPL-3.0",
  7. "support": {
  8. "docs": "https://freshrss.github.io/FreshRSS/",
  9. "issues": "https://github.com/FreshRSS/FreshRSS/issues",
  10. "source": "https://github.com/FreshRSS/FreshRSS/"
  11. },
  12. "keywords": [
  13. "news",
  14. "aggregator",
  15. "RSS",
  16. "Atom",
  17. "WebSub"
  18. ],
  19. "require": {
  20. "php": ">=7.0",
  21. "ext-ctype": "*",
  22. "ext-curl": "*",
  23. "ext-dom": "*",
  24. "ext-fileinfo": "*",
  25. "ext-gmp": "*",
  26. "ext-intl": "*",
  27. "ext-json": "*",
  28. "ext-mbstring": "*",
  29. "ext-openssl": "*",
  30. "ext-pcre": "*",
  31. "ext-pdo_sqlite": "*",
  32. "ext-session": "*",
  33. "ext-simplexml": "*",
  34. "ext-xml": "*",
  35. "ext-xmlreader": "*",
  36. "ext-zend-opcache": "*",
  37. "ext-zip": "*",
  38. "ext-zlib": "*"
  39. },
  40. "suggest": {
  41. "ext-iconv": "*",
  42. "ext-pdo_mysql": "*",
  43. "ext-pdo_pgsql": "*"
  44. },
  45. "require-dev": {
  46. "php": ">=8.0",
  47. "ext-phar": "*",
  48. "ext-tokenizer": "*",
  49. "ext-xmlwriter": "*",
  50. "phpstan/phpstan": "~1.7.14",
  51. "phpunit/phpunit": "^9",
  52. "squizlabs/php_codesniffer": "^3.7"
  53. },
  54. "scripts": {
  55. "php-lint": "find . -type d -name 'vendor' -prune -o -name '*.php' -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null",
  56. "phtml-lint": "find . -type d -name 'vendor' -prune -o -name '*.phtml' -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null",
  57. "phpcs": "phpcs . -s",
  58. "phpcbf": "phpcbf . -p -s",
  59. "phpstan": "phpstan analyse --memory-limit 512M .",
  60. "phpunit": "phpunit --bootstrap ./tests/bootstrap.php --verbose ./tests",
  61. "translations": "cli/manipulate.translation.php -a format",
  62. "test": [
  63. "@php-lint",
  64. "@phtml-lint",
  65. "@phpunit",
  66. "@phpcs",
  67. "@phpstan"
  68. ],
  69. "fix": [
  70. "@translations",
  71. "@phpcbf"
  72. ]
  73. }
  74. }