composer.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "zircote/swagger-php",
  3. "type": "library",
  4. "license": "Apache-2.0",
  5. "bin": [
  6. "bin/openapi"
  7. ],
  8. "description": "swagger-php - Generate interactive documentation for your RESTful API using phpdoc annotations",
  9. "keywords": [
  10. "json",
  11. "rest",
  12. "api",
  13. "service discovery"
  14. ],
  15. "homepage": "https://github.com/zircote/swagger-php/",
  16. "authors": [
  17. {
  18. "name": "Robert Allen",
  19. "email": "zircote@gmail.com",
  20. "homepage": "http://www.zircote.com"
  21. },
  22. {
  23. "name": "Bob Fanger",
  24. "email": "bfanger@gmail.com",
  25. "homepage": "http://bfanger.nl"
  26. }
  27. ],
  28. "config": {
  29. "bin-dir": "bin"
  30. },
  31. "require": {
  32. "php": ">=7.2",
  33. "doctrine/annotations": "*",
  34. "symfony/finder": ">=2.2",
  35. "symfony/yaml": ">=3.3"
  36. },
  37. "autoload": {
  38. "psr-4": {
  39. "OpenApi\\": "src"
  40. },
  41. "files": [
  42. "src/functions.php"
  43. ]
  44. },
  45. "require-dev": {
  46. "zendframework/zend-form": "<2.8",
  47. "squizlabs/php_codesniffer": ">=3.3",
  48. "phpunit/phpunit": ">=8"
  49. },
  50. "autoload-dev": {
  51. "psr-4": {
  52. "OpenApiTests\\": "tests/"
  53. }
  54. },
  55. "scripts": {
  56. "test": "phpunit && phpcs -p --extensions=php --standard=PSR2 --error-severity=1 --warning-severity=0 ./src ./tests",
  57. "docs": "vuepress dev docs/",
  58. "deploy_docs": "vuepress build docs/ && cp -r .git docs/.vuepress/dist/.git && cd docs/.vuepress/dist/ && git symbolic-ref HEAD refs/heads/gh-pages && git add --all"
  59. }
  60. }