存储目录清理
忽略 storage/logs、framework/cache 等运行时目录。
Explore resourceProfessional .gitignore tools
Laravel project template
/vendor/
node_modules/
npm-debug.log
yarn-error.log
# Laravel 4 specific
bootstrap/compiled.php
app/storage/
# Laravel 5 & Lumen specific
public/storage
public/hot
# Laravel 5 & Lumen specific with changed public path
public_html/storage
public_html/hot
storage/*.key
.env
Homestead.yaml
Homestead.json
/.vagrant
.phpunit.result.cache
/public/build
/storage/pail
.env.backup
.env.production
.phpactor.json
auth.json
.gitignore in your project root忽略 storage/logs、framework/cache 等运行时目录。
Explore resourceLaravel Mix/Vite 产物如何与 PHP 代码分离。
Explore resource.env、secret key 与队列 worker 的忽略策略。
Explore resource一键获得 storage、vendor、编译产物的忽略集合。