composer.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "yansongda/supports",
  3. "description": "common components",
  4. "keywords": ["support", "array", "collection", "config"],
  5. "support": {
  6. "issues": "https://github.com/yansongda/supports/issues",
  7. "source": "https://github.com/yansongda/supports"
  8. },
  9. "authors": [
  10. {
  11. "name": "yansongda",
  12. "email": "me@yansongda.cn"
  13. }
  14. ],
  15. "require": {
  16. "php": ">=8.0"
  17. },
  18. "require-dev": {
  19. "phpunit/phpunit": "^9.0",
  20. "mockery/mockery": "^1.4",
  21. "friendsofphp/php-cs-fixer": "^3.0",
  22. "phpstan/phpstan": "^1.1.0"
  23. },
  24. "autoload": {
  25. "files": [
  26. "src/Functions.php"
  27. ],
  28. "psr-4": {
  29. "Yansongda\\Supports\\": "src/"
  30. }
  31. },
  32. "autoload-dev": {
  33. "psr-4": {
  34. "Yansongda\\Supports\\Tests\\": "tests/"
  35. }
  36. },
  37. "suggest": {
  38. "symfony/console": "Use stdout logger",
  39. "monolog/monolog": "Use logger"
  40. },
  41. "scripts": {
  42. "test": "./vendor/bin/phpunit -c phpunit.xml --colors=always",
  43. "cs-fix": "php-cs-fixer fix --dry-run --diff 1>&2",
  44. "analyse": "phpstan analyse --memory-limit 300M -l 5 -c phpstan.neon ./src"
  45. },
  46. "license": "MIT"
  47. }