Commit Graph

21 Commits

Author SHA1 Message Date
Lake Robin
67aa0dca06
Only ignore root vendor directory
In Laravel, we often use `artisan vendor:publish` to copy views, notifications etc from dependencies so that they can be customized. These views are created in <type>/vendor/<dependency> directory.

When using the current gitignore for Laravel, vendor is inserted like vendor/ which ignores all the directories named vendor anywhere in the source tree, including the customized views.

The proposed file change tries to fix this problem by ensuring only the root vendor directory is ignored by git.
2018-09-12 15:16:16 +05:30
Fábio Santos
394704b6a7
Update Laravel.gitignore 2018-08-06 14:51:56 +01:00
Brendan Forster
9b44951272 Merge pull request #2192 from Arsfiqball/update-laravel-patch-2
Laravel: ignore homestead config and npm debug.
2017-01-29 13:31:39 +01:00
Iqbal Mohammad Abdul Ghoni
9c07495c01 Laravel: ignore npm-debug.log 2017-01-28 23:48:56 +07:00
Brendan Forster
459e846a94 Merge pull request #2049 from cyrodjohn/patch-1
Update Laravel.gitignore
2017-01-28 11:06:19 +01:00
Bo-Yi Wu
c9b3900783 ignore public/hot folder for laravel project
ref: https://github.com/laravel/laravel/pull/4121
2017-01-27 16:37:26 +08:00
Brendan Forster
b3fee77004 Merge pull request #2145 from rkrp/laravel_cache_gitignore
Laravel: fixed incorrect ignoring of cache folder
2016-11-06 17:03:50 -06:00
Krishna Ram Prakash R
1a553e1f5f laravel: fixed incorrect ignoring of cache folder 2016-10-21 14:21:09 +05:30
Bo-Yi Wu
89ba2cc174 Ignore Passport-generated OAuth keys 2016-10-17 17:24:02 +08:00
Bo-Yi Wu
14cf3b029d ignore public/storage for laravel 5
Ref: https://github.com/laravel/laravel/blob/master/.gitignore#L2
2016-10-17 13:48:16 +08:00
Cy
eb90a5771f Update Laravel.gitignore
Ignore Homestead related config files
2016-07-25 11:05:58 +08:00
0xBADDCAFE
63cf442bbe do not ignore storage/ directory 2016-05-18 14:11:54 +09:00
Dinar Garipov
76ac5a203b Cleaned according to comments 2016-03-07 09:58:18 +01:00
Dinar Garipov
8e6c678f11 Added nore ignores. Removed.env example file 2016-03-06 11:51:52 +01:00
jerodev
5dda2849bf missed slash in laravel.gitignore 2015-10-28 13:28:46 +01:00
jerodev
3a838f8640 Merged Laravel & Lumen + grouped rules 2015-10-28 13:24:11 +01:00
jerodev
1d16414b1f Merged laravel and laravel5 2015-10-28 08:43:54 +01:00
Hélio
344fc711d0 Added some folders the are "compiled" things
/vendor - composer modules can be (and probably should) recompiled. Laravel comes with this line by default.
/node_modules - npm modules, same of /vendor.  Laravel comes with this line by default.

/app/storage - Laravel things that can be despised (in staging) like cache, views cache and sessions
2015-10-23 16:58:40 -03:00
Joshua Mabina
a811a95e63 added .env.example for projects generated with laravel new command 2015-10-15 18:02:24 +03:00
jake johns
8c0685fd96 Add ".env" to Laravel.gitignore
Laravel 5 uses vlucas/phpdotenv for env configuration.
http://laravel.com/docs/5.0/configuration#environment-configuration
Previous version used env.php files. the new configuration files do not have
.php extension
2015-03-10 02:49:24 -05:00
Tony Arra
858b0b251a Renaming Laravel4 to Laravel
Laravel4 is the current standard.

This resolves the name with the custom Laravel.gitignore file in the
gitignore.io project. If support for Laravel3 is desired, it should be done in
a new file: "Laravel3.gitignore

Closes #1196
2014-09-02 15:51:10 +10:00