composer.json 677 B

1234567891011121314151617181920212223242526
  1. {
  2. "name": "yurunsoft/chinese-util",
  3. "description": "PHP 中文工具包,支持汉字转拼音、拼音分词、简繁互转、数字转换、金额数字转换。",
  4. "type": "library",
  5. "license": "MIT",
  6. "autoload": {
  7. "psr-4": {
  8. "Yurun\\Util\\": "src/"
  9. }
  10. },
  11. "autoload-dev": {
  12. "psr-4": {
  13. "Yurun\\Util\\ChineseUtil\\Test\\": "tests/unit/"
  14. }
  15. },
  16. "require-dev": {
  17. "phpunit/phpunit": ">=4"
  18. },
  19. "scripts": {
  20. "test": "./vendor/bin/phpunit -c ./tests/phpunit.xml",
  21. "install-test": [
  22. "@composer install",
  23. "@composer test"
  24. ]
  25. }
  26. }