I have question which happens after setting laravel-debugbar.
when I did git status
It had the following as untracked files
app/storage/debugbar/
public/packages/barryvdh/
public/packages/maximebf/
I'm unsure as what is the best practice in this situation so,
Should I add them to the repository or just ignore them and put it the .gitignore?
If I were you, I'd add them to the .gitignore.
Especially the storage folder. There's no way you'd want to commit that.
The files in the debugbar storage folder should be gitignored already (see https://github.com/barryvdh/laravel-debugbar/blob/master/src/Barryvdh/Debugbar/Storage/FilesystemStorage.php#L36)
You can ignore the assets if you only use the debugbar in development, no need to track them, unless you want to run it in production.
Thanks for the fast reply @GrahamCampbell and @barryvdh
@barryvdh Dead link.
@barryvdh Dead link.
Live link here:
https://github.com/barryvdh/laravel-debugbar/blob/cae0a8d1cb89b0f0522f65e60465e16d738e069b/src/Storage/FilesystemStorage.php#L36
Most helpful comment
@barryvdh Dead link.