This PR adds a new environment variable TELESCOPE_TOOLBAR_ENABLED which can be used to disable telescope toolbar even if Telescope is enabled (which one cannot do with the current setup).
If the environment variable is not provided, then it will default to the current setting, which is to use the same environment variable used to enable/disable Laravel Telescope.
Why to implement this? Because there are cases where one would like to disable the Toolbar while still having Laravel Telescope enabled. This could be while working on some frontend stuff where the toolbar should be disabled.
This PR adds a new environment variable
TELESCOPE_TOOLBAR_ENABLED
which can be used to disable telescope toolbar even if Telescope is enabled (which one cannot do with the current setup).If the environment variable is not provided, then it will default to the current setting, which is to use the same environment variable used to enable/disable Laravel Telescope.
Why to implement this? Because there are cases where one would like to disable the Toolbar while still having Laravel Telescope enabled. This could be while working on some frontend stuff where the toolbar should be disabled.