composer.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "psy/psysh",
  3. "description": "An interactive shell for modern PHP.",
  4. "type": "library",
  5. "keywords": ["console", "interactive", "shell", "repl"],
  6. "homepage": "https://psysh.org",
  7. "license": "MIT",
  8. "authors": [
  9. {
  10. "name": "Justin Hileman",
  11. "email": "justin@justinhileman.info"
  12. }
  13. ],
  14. "require": {
  15. "php": "^8.0 || ^7.4",
  16. "ext-json": "*",
  17. "ext-tokenizer": "*",
  18. "nikic/php-parser": "^5.0 || ^4.0",
  19. "symfony/console": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4",
  20. "symfony/var-dumper": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4"
  21. },
  22. "require-dev": {
  23. "bamarni/composer-bin-plugin": "^1.2"
  24. },
  25. "suggest": {
  26. "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)",
  27. "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.",
  28. "ext-pdo-sqlite": "The doc command requires SQLite to work."
  29. },
  30. "autoload": {
  31. "files": ["src/functions.php"],
  32. "psr-4": {
  33. "Psy\\": "src/"
  34. }
  35. },
  36. "autoload-dev": {
  37. "psr-4": {
  38. "Psy\\Test\\": "test/"
  39. }
  40. },
  41. "bin": ["bin/psysh"],
  42. "config": {
  43. "allow-plugins": {
  44. "bamarni/composer-bin-plugin": true
  45. }
  46. },
  47. "extra": {
  48. "branch-alias": {
  49. "dev-main": "0.12.x-dev"
  50. },
  51. "bamarni-bin": {
  52. "bin-links": false,
  53. "forward-command": false
  54. }
  55. },
  56. "conflict": {
  57. "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4"
  58. }
  59. }