composer.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "crazywhalecc/static-php-cli",
  3. "description": "Build single static PHP binary, with PHP project together, with popular extensions included.",
  4. "license": "MIT",
  5. "authors": [
  6. {
  7. "name": "jerry",
  8. "email": "admin@zhamao.me"
  9. }
  10. ],
  11. "require": {
  12. "php": ">= 8.1",
  13. "ext-mbstring": "*",
  14. "ext-pcntl": "*",
  15. "laravel/prompts": "^0.1.3",
  16. "symfony/console": "^6 || ^5 || ^4",
  17. "zhamao/logger": "^1.0"
  18. },
  19. "require-dev": {
  20. "nunomaduro/collision": "*",
  21. "friendsofphp/php-cs-fixer": "^3.2 != 3.7.0",
  22. "phpstan/phpstan": "^1.1",
  23. "captainhook/captainhook": "^5.10",
  24. "captainhook/plugin-composer": "^5.3"
  25. },
  26. "autoload": {
  27. "psr-4": {
  28. "SPC\\": "src/SPC"
  29. },
  30. "files": [
  31. "src/globals/defines.php",
  32. "src/globals/functions.php"
  33. ]
  34. },
  35. "bin": [
  36. "bin/spc"
  37. ],
  38. "scripts": {
  39. "analyse": "phpstan analyse --memory-limit 300M",
  40. "cs-fix": "php-cs-fixer fix",
  41. "test": "bin/phpunit --no-coverage"
  42. },
  43. "config": {
  44. "allow-plugins": {
  45. "phpstan/extension-installer": true,
  46. "captainhook/plugin-composer": true
  47. },
  48. "optimize-autoloader": true,
  49. "sort-packages": true
  50. }
  51. }