After running composer remove laravel/telescope
It still won't remove telescope completely. I've followed the answer here https://github.com/laravel/telescope/issues/361 but to no avail it still doesn't work. Here's the error message
You must first remove all the telescope
reference in your code before running composer remove laravel/telescope
.
config/app.php
, under providers
array, remove the Telescope thereapp/Providers/AppServiceProvider.php
is there a TelescopeServiceProvider
there? Remove that also.telescope.php
in config
folderThen finally you can run composer remove laravel/telescope
.
This is what worked for me:
Inside:
root->config->telescope.php
in the telescope.php
config file:
'enabled' => env('TELESCOPE_ENABLED', 'true'),
I changed the true
to false
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With