Skip to content

Instantly share code, notes, and snippets.

@avosalmon
Last active August 29, 2015 14:14
Show Gist options
  • Save avosalmon/beb9b3bd8413ac592bea to your computer and use it in GitHub Desktop.
Save avosalmon/beb9b3bd8413ac592bea to your computer and use it in GitHub Desktop.
.gitignore for laravel api
/bootstrap/compiled.php
/app/storage/downloads
/app/storage/uploads
/app/storage/sessions/*
/app/storage/cache/*
/app/storage/logs
/app/config/database.php
/app/config/pubnub.php
vendor/.git
vendor/**/composer.lock
/node_modules
/ruby_vendor
/.bundle
composer.phar
.DS_Store
Thumbs.db
.tmp
npm-debug.log
@oliverlundquist
Copy link

Laravel 5 .gitignore (v1)

vendor/.git
vendor/*/composer.lock
/storage/app
/storage/logs
/database/migrations/

!/database/migrations/2015_02_09_121400_create_session_table.php
.env
/node_modules
/ruby_vendor
/.bundle
composer.phar
.DS_Store
Thumbs.db
.tmp
npm-debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment