composer.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "knuckleswtf/scribe",
  3. "license": "MIT",
  4. "description": "Generate API documentation for humans from your Laravel codebase.✍",
  5. "keywords": [
  6. "API",
  7. "documentation",
  8. "laravel"
  9. ],
  10. "homepage": "http://github.com/knuckleswtf/scribe",
  11. "authors": [
  12. {
  13. "name": "Shalvah"
  14. }
  15. ],
  16. "require": {
  17. "php": ">=8.1",
  18. "ext-fileinfo": "*",
  19. "ext-json": "*",
  20. "ext-pdo": "*",
  21. "erusev/parsedown": "1.7.4",
  22. "fakerphp/faker": "^1.23.1",
  23. "laravel/framework": "^9.0|^10.0|^11.0|^12.0",
  24. "league/flysystem": "^3.0",
  25. "mpociot/reflection-docblock": "^1.0.1",
  26. "nikic/php-parser": "^5.0",
  27. "nunomaduro/collision": "^6.0|^7.0|^8.0",
  28. "ramsey/uuid": "^4.2.2",
  29. "shalvah/clara": "^3.1.0",
  30. "shalvah/upgrader": ">=0.6.0",
  31. "spatie/data-transfer-object": "^2.6|^3.0",
  32. "symfony/var-exporter": "^6.0|^7.0",
  33. "symfony/yaml": "^6.0|^7.0"
  34. },
  35. "require-dev": {
  36. "dms/phpunit-arraysubset-asserts": "^v0.5.0",
  37. "laravel/legacy-factories": "^1.3.0",
  38. "league/fractal": "^0.20",
  39. "nikic/fast-route": "^1.3",
  40. "orchestra/testbench": "^7.0|^8.0|^v9.10.0|^10.0",
  41. "pestphp/pest": "^1.21|^2.0|^3.0",
  42. "phpstan/phpstan": "^2.1.5",
  43. "phpunit/phpunit": "^9.0|^10.0|^11.0",
  44. "symfony/css-selector": "^6.0|^7.0",
  45. "symfony/dom-crawler": "^6.0|^7.0",
  46. "spatie/ray": "^1.41"
  47. },
  48. "autoload": {
  49. "psr-4": {
  50. "Knuckles\\Scribe\\": "src/",
  51. "Knuckles\\Camel\\": "camel/"
  52. },
  53. "files": [
  54. "src/Config/helpers.php"
  55. ]
  56. },
  57. "autoload-dev": {
  58. "psr-4": {
  59. "Knuckles\\Scribe\\Tests\\": "tests/"
  60. }
  61. },
  62. "scripts": {
  63. "lint": "phpstan analyse -c ./phpstan.neon src camel --memory-limit 1G",
  64. "test": "pest --stop-on-failure --colors",
  65. "test-ci": "pest --coverage --min=80"
  66. },
  67. "extra": {
  68. "laravel": {
  69. "providers": [
  70. "Knuckles\\Scribe\\ScribeServiceProvider"
  71. ]
  72. }
  73. },
  74. "config": {
  75. "preferred-install": "dist",
  76. "sort-packages": true,
  77. "process-timeout": 600,
  78. "allow-plugins": {
  79. "pestphp/pest-plugin": true
  80. }
  81. },
  82. "replace": {
  83. "mpociot/laravel-apidoc-generator": "*"
  84. },
  85. "funding": [
  86. {
  87. "type": "patreon",
  88. "url": "https://patreon.com/shalvah"
  89. }
  90. ]
  91. }