composer.json 857 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "name": "yurunsoft/yurun-http",
  3. "description": "YurunHttp 是开源的 PHP HTTP 类库,支持链式操作,简单易用。支持 Curl、Swoole,支持 Http、Http2、WebSocket!",
  4. "require": {
  5. "php": ">=5.5.0",
  6. "psr/http-message": "~1.0"
  7. },
  8. "require-dev": {
  9. "swoole/ide-helper": "^4.5",
  10. "phpunit/phpunit": ">=4",
  11. "workerman/workerman": "^4.0"
  12. },
  13. "type": "library",
  14. "license": "MIT",
  15. "autoload": {
  16. "psr-4": {
  17. "Yurun\\Util\\": "./src/"
  18. }
  19. },
  20. "autoload-dev": {
  21. "psr-4": {
  22. "Yurun\\Util\\YurunHttp\\Test\\": "tests/unit/"
  23. }
  24. },
  25. "scripts": {
  26. "test": "./vendor/bin/phpunit -c ./tests/phpunit.xml",
  27. "install-test": [
  28. "@composer install",
  29. "@composer test"
  30. ]
  31. }
  32. }