You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.6 KiB

3 years ago
  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. },
  23. "require-dev": {
  24. "hoa/console": "3.17.*",
  25. "bamarni/composer-bin-plugin": "^1.2"
  26. },
  27. "suggest": {
  28. "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)",
  29. "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.",
  30. "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.",
  31. "ext-pdo-sqlite": "The doc command requires SQLite to work.",
  32. "hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit."
  33. },
  34. "autoload": {
  35. "files": ["src/functions.php"],
  36. "psr-4": {
  37. "Psy\\": "src/"
  38. }
  39. },
  40. "autoload-dev": {
  41. "psr-4": {
  42. "Psy\\Test\\": "test/"
  43. }
  44. },
  45. "bin": ["bin/psysh"],
  46. "extra": {
  47. "branch-alias": {
  48. "dev-main": "0.10.x-dev"
  49. }
  50. }
  51. }