Skip to content

Instantly share code, notes, and snippets.

@Michael-Stokoe
Created July 21, 2022 12:40
Show Gist options
  • Save Michael-Stokoe/812dcc2257b6b62adfd49e8a7d06438c to your computer and use it in GitHub Desktop.
Save Michael-Stokoe/812dcc2257b6b62adfd49e8a7d06438c to your computer and use it in GitHub Desktop.
gitignore for laravel projects
### LARAVEL / HOMESTEAD ###
/public/hot
/public/storage
/public/assets/
/public/fonts
/public/css
/public/js
/public/img
/public/images
/public/icons
/public/vendor
/public/mix-manifest.json
/storage/*.key
/storage/debugbar
/vendor
/.idea
/.vagrant
Homestead.json
Homestead.yaml
### Node ###
# PHP CS Fixer
*.php_cs.cache
# Logs
logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Optional npm cache directory
.npm
# Dependency directories
/node_modules
/jspm_packages
/bower_components
# Yarn Integrity file
.yarn-integrity
# Optional eslint cache
.eslintcache
# dotenv environment variables file(s)
.env
.env.*
#Build generated
dist/
build/
### SublimeText ###
# cache files for sublime text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
# workspace files are user-specific
*.sublime-workspace
# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
### Vim ###
*.sw[a-p]
### WebStorm/IntelliJ ###
/.idea
modules.xml
*.ipr
### System Files ###
.DS_Store
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
/.php_cs.cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment