.gitignore 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. # Laravel Module .gitignore
  2. # 适用于DCAT Admin模块的Git忽略规则
  3. # Composer
  4. /vendor/
  5. composer.phar
  6. composer.lock
  7. # IDE
  8. .idea/
  9. .vscode/
  10. *.sublime-project
  11. *.sublime-workspace
  12. .project
  13. .buildpath
  14. .settings/
  15. # 操作系统
  16. .DS_Store
  17. .DS_Store?
  18. ._*
  19. .Spotlight-V100
  20. .Trashes
  21. ehthumbs.db
  22. Thumbs.db
  23. desktop.ini
  24. # 日志文件
  25. *.log
  26. npm-debug.log*
  27. yarn-debug.log*
  28. yarn-error.log*
  29. lerna-debug.log*
  30. .pnpm-debug.log*
  31. # PHP
  32. *.php~
  33. *.php#
  34. *.php_
  35. *.phpbak
  36. *.php-backup
  37. *.php.save
  38. *.php.swp
  39. *.php.swo
  40. *~
  41. *.swp
  42. *.swo
  43. *.tmp
  44. # 缓存
  45. .cache/
  46. .php_cs.cache
  47. .phpunit.result.cache
  48. .phpunit.cache/
  49. .nyc_output/
  50. coverage/
  51. build/
  52. temp/
  53. tmp/
  54. # 环境配置
  55. .env
  56. .env.local
  57. .env.*.local
  58. # 构建输出
  59. /dist/
  60. /build/
  61. /public/build/
  62. /public/dist/
  63. /public/hot/
  64. /public/storage/
  65. /storage/*.key
  66. /storage/pail/
  67. # Node.js (如果有前端资源)
  68. node_modules/
  69. npm-debug.log*
  70. yarn-debug.log*
  71. yarn-error.log*
  72. .pnpm-debug.log*
  73. .pnpm-store/
  74. # 前端构建
  75. /public/css/
  76. /public/js/
  77. /public/mix-manifest.json
  78. /webpack.mix.js.map
  79. # 备份文件
  80. *.backup
  81. *.bak
  82. *.orig
  83. *.rej
  84. *.tmp
  85. # 测试
  86. /tests/coverage/
  87. /tests/report/
  88. /tests/_output/
  89. /tests/_support/_generated/
  90. # 文档生成
  91. /docs/api/
  92. /docs/coverage/
  93. /docs/build/
  94. # 其他
  95. *.tgz
  96. *.tar.gz
  97. *.zip
  98. *.rar
  99. *.7z
  100. *.patch
  101. *.diff
  102. *.patch.gz
  103. *.diff.gz
  104. # 本地开发
  105. .env.testing
  106. .env.staging
  107. .env.production
  108. .env.backup
  109. .env.copy
  110. .env.example.backup
  111. # 数据库
  112. *.sqlite
  113. *.sqlite-journal
  114. *.db
  115. *.db-journal
  116. # 临时文件
  117. *.temp
  118. *.tmp
  119. *.tempfile
  120. *.lockfile
  121. *.pid
  122. *.sock
  123. # 调试文件
  124. debug.log
  125. error.log
  126. access.log
  127. xdebug.log
  128. # 包管理器
  129. package-lock.json
  130. yarn.lock
  131. pnpm-lock.yaml
  132. .pnpm-store/
  133. # 代码格式化
  134. .php-cs-fixer.cache
  135. .php-cs-fixer.php
  136. .phpcs-cache
  137. .psalm/
  138. .psalm/cache/
  139. .phpstan/
  140. .phpstan/cache/
  141. # 静态分析
  142. .phpunit.result.cache
  143. .phpunit.cache/
  144. .coverage/
  145. .coverage-html/
  146. .coverage-xml/
  147. .coverage-clover/
  148. .coverage-crap4j/
  149. .coverage-text/
  150. .coverage-php/
  151. # 部署相关
  152. .deploy/
  153. .deployignore
  154. .deploy_key
  155. .deploy_config
  156. # 本地配置
  157. local/
  158. local-config/
  159. config.local.php
  160. config.local.yml
  161. config.local.yaml
  162. config.local.json
  163. config.local.xml
  164. # 上传文件
  165. /uploads/
  166. /public/uploads/
  167. /storage/uploads/
  168. /storage/app/
  169. /storage/framework/
  170. /storage/logs/
  171. /storage/debugbar/
  172. # 缓存文件
  173. /bootstrap/cache/
  174. /bootstrap/cache/packages.php
  175. /bootstrap/cache/services.php
  176. /bootstrap/cache/config.php
  177. /bootstrap/cache/routes.php
  178. /bootstrap/cache/events.php
  179. # 会话文件
  180. /storage/framework/sessions/
  181. /storage/framework/views/
  182. /storage/framework/cache/