composer.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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.8",
  17. "ext-json": "*",
  18. "ext-tokenizer": "*",
  19. "symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.4",
  20. "symfony/var-dumper": "^6.0 || ^5.0 || ^4.0 || ^3.4",
  21. "nikic/php-parser": "^4.0 || ^3.1"
  22. },
  23. "require-dev": {
  24. "bamarni/composer-bin-plugin": "^1.2"
  25. },
  26. "suggest": {
  27. "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)",
  28. "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.",
  29. "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.",
  30. "ext-pdo-sqlite": "The doc command requires SQLite to work."
  31. },
  32. "autoload": {
  33. "files": ["src/functions.php"],
  34. "psr-4": {
  35. "Psy\\": "src/"
  36. }
  37. },
  38. "autoload-dev": {
  39. "psr-4": {
  40. "Psy\\Test\\": "test/"
  41. }
  42. },
  43. "bin": ["bin/psysh"],
  44. "config": {
  45. "allow-plugins": {
  46. "bamarni/composer-bin-plugin": true
  47. }
  48. },
  49. "extra": {
  50. "branch-alias": {
  51. "dev-main": "0.11.x-dev"
  52. }
  53. },
  54. "conflict": {
  55. "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4"
  56. }
  57. }