composer.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "psy/psysh",
  3. "description": "An interactive shell for modern PHP.",
  4. "type": "library",
  5. "keywords": ["console", "interactive", "shell", "repl"],
  6. "homepage": "http://psysh.org",
  7. "license": "MIT",
  8. "authors": [
  9. {
  10. "name": "Justin Hileman",
  11. "email": "justin@justinhileman.info",
  12. "homepage": "http://justinhileman.com"
  13. }
  14. ],
  15. "require": {
  16. "php": "^8.0 || ^7.0 || ^5.5.9",
  17. "ext-json": "*",
  18. "ext-tokenizer": "*",
  19. "symfony/console": "~5.0|~4.0|~3.0|^2.4.2|~2.3.10",
  20. "symfony/var-dumper": "~5.0|~4.0|~3.0|~2.7",
  21. "nikic/php-parser": "~4.0|~3.0|~2.0|~1.3",
  22. "dnoegel/php-xdg-base-dir": "0.1.*"
  23. },
  24. "require-dev": {
  25. "hoa/console": "3.17.*",
  26. "bamarni/composer-bin-plugin": "^1.2"
  27. },
  28. "suggest": {
  29. "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)",
  30. "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.",
  31. "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.",
  32. "ext-pdo-sqlite": "The doc command requires SQLite to work.",
  33. "hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit."
  34. },
  35. "autoload": {
  36. "files": ["src/functions.php"],
  37. "psr-4": {
  38. "Psy\\": "src/"
  39. }
  40. },
  41. "autoload-dev": {
  42. "psr-4": {
  43. "Psy\\Test\\": "test/"
  44. }
  45. },
  46. "bin": ["bin/psysh"],
  47. "extra": {
  48. "branch-alias": {
  49. "dev-master": "0.10.x-dev"
  50. }
  51. }
  52. }