Track console and web Laravel framework execution with Laravel Profiler
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.
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 and php artisan profiler:client
Step 5: Verify installation
php artisan profiler:status
This post is submitted by one of our members. You may submit a new post here.