In Laravel 11, telescope is a PHP package used to visually debug application performance.
Let’s start to install, configure and use telescope in applications:
Step 1: Install Telescope
Run the following command to install Telescope:
composer require laravel/telescope
Step 2: Set Up Telescope
Run the following command to set up telescope in application:
php artisan telescope:install
Step 3: Create Tables in DB
To create tables in the database, run the following migration command:
php artisan migrate
Step 4: Start the Server
Run the following command to start application server:
php artisan serve
Step 5: Test Telescope
Type the following url on browser to test telescope:
localhost:8000/telescope/