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.
Demo
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
Source Code
This post is submitted by our members. Submit a new post.
Tags: Tutorials Packages Sources Laravel 5.7 Laravel 5.6 Laravel 5.5 Laravel 5.4 Laravel 5.3 Laravel 5 Intermediate