An elegant debug assistant for the Laravel framework.
- Add
laravel/telescope
tocomposer.json
to prevent auto-discovery
"extra": {
"laravel": {
"dont-discover": [
"laravel/telescope"
]
}
},
- Add
TelescopeServiceProvider
to the app config
'providers' => [
...
ARKEcosystem\Foundation\Providers\TelescopeServiceProvider::class,
...
],
- Configure
.env
for local
APP_ENV=local
APP_DEBUG=true
- Configure
.env
for production
APP_ENV=production
APP_DEBUG=false