composer.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "death_satan/hyperf-validate",
  3. "type": "library",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "hyperf",
  8. "validate"
  9. ],
  10. "description": "Hyperf Validate",
  11. "autoload": {
  12. "psr-4": {
  13. "DeathSatan\\Hyperf\\Validate\\": "src/"
  14. }
  15. },
  16. "autoload-dev": {
  17. "psr-4": {
  18. "HyperfTest\\": "tests"
  19. }
  20. },
  21. "require": {
  22. "php": ">=8.0",
  23. "hyperf/config": "~3.0",
  24. "hyperf/db-connection": "~3.0",
  25. "hyperf/di": "~3.0",
  26. "hyperf/framework": "~3.0",
  27. "hyperf/validation": "~3.0"
  28. },
  29. "require-dev": {
  30. "friendsofphp/php-cs-fixer": "^3.0",
  31. "hyperf/testing": "~3.0",
  32. "mockery/mockery": "^1.0",
  33. "phpstan/phpstan": "^1.0",
  34. "swoole/ide-helper": "^4.5"
  35. },
  36. "suggest": {
  37. "swow/swow": "Required to create swow components."
  38. },
  39. "minimum-stability": "dev",
  40. "prefer-stable": true,
  41. "config": {
  42. "optimize-autoloader": true,
  43. "sort-packages": true
  44. },
  45. "scripts": {
  46. "test": "co-phpunit -c phpunit.xml --colors=always",
  47. "analyse": "phpstan analyse --memory-limit 1024M -l 0 ./src",
  48. "cs-fix": "php-cs-fixer fix $1"
  49. },
  50. "extra": {
  51. "hyperf": {
  52. "config": "DeathSatan\\Hyperf\\Validate\\ConfigProvider"
  53. }
  54. }
  55. }