composer.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "predis/predis",
  3. "type": "library",
  4. "description": "A flexible and feature-complete Redis/Valkey client for PHP.",
  5. "keywords": ["nosql", "redis", "predis"],
  6. "homepage": "http://github.com/predis/predis",
  7. "license": "MIT",
  8. "support": {
  9. "issues": "https://github.com/predis/predis/issues"
  10. },
  11. "authors": [
  12. {
  13. "name": "Till Krüss",
  14. "homepage": "https://till.im",
  15. "role": "Maintainer"
  16. }
  17. ],
  18. "funding": [
  19. {
  20. "type": "github",
  21. "url": "https://github.com/sponsors/tillkruss"
  22. }
  23. ],
  24. "require": {
  25. "php": "^7.2 || ^8.0",
  26. "psr/http-message": "^1.0|^2.0"
  27. },
  28. "require-dev": {
  29. "friendsofphp/php-cs-fixer": "^3.3",
  30. "phpstan/phpstan": "^1.9",
  31. "phpunit/phpunit": "^8.0 || ~9.4.4",
  32. "phpunit/phpcov": "^6.0 || ^8.0"
  33. },
  34. "suggest": {
  35. "ext-relay": "Faster connection with in-memory caching (>=0.6.2)"
  36. },
  37. "scripts": {
  38. "phpstan": "phpstan analyse",
  39. "style": "php-cs-fixer fix --diff --dry-run",
  40. "style:fix": "php-cs-fixer fix"
  41. },
  42. "autoload": {
  43. "psr-4": {
  44. "Predis\\": "src/"
  45. }
  46. },
  47. "config": {
  48. "sort-packages": true,
  49. "preferred-install": "dist"
  50. },
  51. "minimum-stability": "dev",
  52. "prefer-stable": true
  53. }