composer.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. "laravel/prompts": "^0.1.12",
  15. "symfony/console": "^5.4 || ^6 || ^7",
  16. "zhamao/logger": "^1.0"
  17. },
  18. "require-dev": {
  19. "captainhook/captainhook": "^5.10",
  20. "captainhook/plugin-composer": "^5.3",
  21. "friendsofphp/php-cs-fixer": "^3.25",
  22. "humbug/box": "^4.5",
  23. "nunomaduro/collision": "^7.8",
  24. "phpstan/phpstan": "^1.10",
  25. "phpunit/phpunit": "^10.3 || ^9"
  26. },
  27. "autoload": {
  28. "psr-4": {
  29. "SPC\\": "src/SPC"
  30. },
  31. "files": [
  32. "src/globals/defines.php",
  33. "src/globals/functions.php"
  34. ]
  35. },
  36. "autoload-dev": {
  37. "psr-4": {
  38. "SPC\\Tests\\": "tests/SPC"
  39. }
  40. },
  41. "bin": [
  42. "bin/spc"
  43. ],
  44. "scripts": {
  45. "analyse": "phpstan analyse --memory-limit 300M",
  46. "cs-fix": "php-cs-fixer fix",
  47. "test": "vendor/bin/phpunit tests/ --no-coverage",
  48. "build:phar": "vendor/bin/box compile"
  49. },
  50. "config": {
  51. "allow-plugins": {
  52. "phpstan/extension-installer": true,
  53. "captainhook/plugin-composer": true
  54. },
  55. "optimize-autoloader": true,
  56. "sort-packages": true
  57. },
  58. "funding": [
  59. {
  60. "type": "other",
  61. "url": "https://github.com/crazywhalecc/crazywhalecc/blob/master/FUNDING.md"
  62. }
  63. ]
  64. }