Tag: alias

Environment specific Service Providers and Facades in Laravel

I often work with 3rd party app in my Laravel Projects, some of them are for example barryvdh/laravel-debugbar, barryvdh/laravel-translation-manager or aaronlord/laroute. Now I show you how you can load only specific facades an service providers for development. Let’s build this up. In Laravel there is a .env file which has a variable called `APP_ENV`.   That’s exactly what we need. If the value is […]

Scroll to Top