Telescope is a powerful debugging and diagnostic tool for Laravel applications. It provides developers with insights into the requests, exceptions, database queries, and other activities happening within their application
Step 1 : Install Laravel Application
composer create-project laravel/laravel telescop-app
Step 2 :Install Laravel Telescope Package
composer require laravel/telescope
you can also install for specific environment:
composer require laravel/telescope --dev
Step 3:Install Telescope
now,, we have to install telescope by using following command that will create migration files and configuration file.
php artisan telescope:install
let's run following command to create tables for telescope.
php artisan migrate
now ready to run telescope. so let's run project:
php artisan serve
Now,open bellow url in your browser ans see output
localhost:8000/telescope/requests