composer.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "phpmyadmin/motranslator",
  3. "description": "Translation API for PHP using Gettext MO files",
  4. "license": "GPL-2.0-or-later",
  5. "keywords": ["gettext", "mo", "translator", "i18n"],
  6. "homepage": "https://github.com/phpmyadmin/motranslator",
  7. "authors": [
  8. {
  9. "name": "The phpMyAdmin Team",
  10. "email": "developers@phpmyadmin.net",
  11. "homepage": "https://www.phpmyadmin.net/team/"
  12. }
  13. ],
  14. "support": {
  15. "issues": "https://github.com/phpmyadmin/motranslator/issues",
  16. "source": "https://github.com/phpmyadmin/motranslator"
  17. },
  18. "scripts": {
  19. "phpcbf": "./vendor/bin/phpcbf",
  20. "phpcs": "./vendor/bin/phpcs",
  21. "phpstan": "./vendor/bin/phpstan analyse",
  22. "phpunit": "./vendor/bin/phpunit --color=always",
  23. "test": [
  24. "@phpcs",
  25. "@phpstan",
  26. "@phpunit"
  27. ]
  28. },
  29. "require": {
  30. "php": "^7.1 || ^8.0",
  31. "symfony/expression-language": "^4.0 || ^5.0"
  32. },
  33. "require-dev": {
  34. "phpunit/phpunit": "^7.4 || ^8 || ^9",
  35. "phpmyadmin/coding-standard": "^2.1.1",
  36. "phpstan/phpstan": "^0.12.56"
  37. },
  38. "autoload": {
  39. "psr-4": {
  40. "PhpMyAdmin\\MoTranslator\\": "src"
  41. }
  42. },
  43. "autoload-dev": {
  44. "psr-4": {
  45. "PhpMyAdmin\\MoTranslator\\Tests\\": "tests"
  46. }
  47. }
  48. }