composer.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "ext-mbstring": "*",
  18. "ext-ctype": "*"
  19. },
  20. "require-dev": {
  21. "phpunit/phpunit": "^9.0",
  22. "mockery/mockery": "^1.4",
  23. "friendsofphp/php-cs-fixer": "^3.0",
  24. "phpstan/phpstan": "^1.1.0"
  25. },
  26. "autoload": {
  27. "files": [
  28. "src/Functions.php"
  29. ],
  30. "psr-4": {
  31. "Yansongda\\Supports\\": "src/"
  32. }
  33. },
  34. "autoload-dev": {
  35. "psr-4": {
  36. "Yansongda\\Supports\\Tests\\": "tests/"
  37. }
  38. },
  39. "suggest": {
  40. "symfony/console": "Use stdout logger",
  41. "monolog/monolog": "Use logger"
  42. },
  43. "scripts": {
  44. "test": "./vendor/bin/phpunit -c phpunit.xml --colors=always",
  45. "cs-fix": "php-cs-fixer fix --dry-run --diff 1>&2",
  46. "analyse": "phpstan analyse --memory-limit 300M -l 5 -c phpstan.neon ./src"
  47. },
  48. "license": "MIT"
  49. }