Development Mode

Vanguard - Advanced PHP Login and User Management Vanguard - Advanced PHP Login and User Management / Last updated on October 29, 2018

While you are developing new Vanguard features, or you are customizing the existing features, you should definitely enable development mode so you can clearly see all errors on the screen, without constantly having to check your log file.

To enable development mode, all you need to do is to modify your .env file and set APP_ENV and APP_DEBUG to following values:

APP_ENV=local
APP_DEBUG=true

Debug Bar

Vanguard comes with awesome Laravel Debugbar package that is automatically enabled for you if you enable development mode like it is described above. The package itself is very helpful during the development process, and you can use it to see which queries are executed during page load, to check the session data etc.

ExfVlcnT2KNgaBuF3oNBZrhQXv6pEg9so7veMC7L.png