Laravel Profiler is a package which we can use to track console and web Laravel framework execution and have a better understanding of what is going on under the hood.

laravel profiler


demo laravel

Installation and configuration

Step 1: Install Profiler Package

composer require jkocik/laravel-profiler --dev

Step 2: Publish configuration file

php artisan vendor:publish --provider="JKocik\Laravel\Profiler\ServiceProvider"

Step 3: Install Profiler Server and Profiler Client

npm install laravel-profiler-client --save-dev

Step 4: Run Profiler Server and Profiler Client

php artisan profiler:server

php artisan profiler:client

Step 5: Verify installation

php artisan profiler:status

Source Code