PHP Classes

How to Profile a Laravel Application to Laravel Profiler: Measure the application speed and resource usage

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-04-23 (5 months ago) RSS 2.0 feedNot enough user ratingsTotal: 22 All time: 11,258 This week: 67Up
Version License PHP version Categories
laravel-profiler 1.0.0MIT/X Consortium ...5HTTP, PHP 5, Databases, Libraries, Pe...
Description 

Author

This package can measure the application speed and resource usage.

It provides a Laravel service class that applications can use to profile several aspects of the current application behavior.

The service class registers a profiler class that registers event listeners to track several types of activity of the current application.

Currently, it can measure the time that:

- The application takes to run

- Database queries take to execute

- HTTP requests take to be sent and a response is retrieved

Innovation Award
PHP Programming Innovation award nominee
April 2024
Number 6
Many developers use the Laravel framework to develop Web sites and applications.

When it is necessary to optimize the performance of an application, the first step to optimize is to profile the application to detect which parts are slower.

This package implements a profiler solution for Laravel applications. It can listen to application events that execute code that usually takes longer to run, like database queries and HTTP requests sent to external servers.

Manuel Lemos
Picture of Andrey Iatsenko
  Performance   Level  
Name: Andrey Iatsenko <contact>
Classes: 11 packages by
Country: Russian Federation Russian Federation
Age: 29
All time rank: 4243117 in Russian Federation Russian Federation
Week rank: 192 Up9 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 7x

Documentation

Laravel profiler


Breadcrumbs::addBranch('?????? ??');

Breadcrumbs::addBranch('?????? ??');
// ...
Breadcrumbs::closeCurrentBranch();

Breadcrumbs::addBranch('?????? ??');
// ...
Breadcrumbs::closeCurrentBranch();

Breadcrumbs::closeCurrentBranch();

  Files folder image Files (16)  
File Role Description
Files folder imagesrc (5 files, 2 directories)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file phpcs.xml Data Auxiliary data
Accessible without login Plain text file phpstan.neon Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (16)  /  src  
File Role Description
Files folder imageHttp (2 files)
Files folder imageProcessors (2 files)
  Plain text file Analyze.php Class Class source
  Plain text file Breadcrumbs.php Class Class source
  Plain text file HttpInject.php Class Class source
  Plain text file Profiler.php Class Class source
  Plain text file ServiceProvider.php Class Class source

  Files folder image Files (16)  /  src  /  Http  
File Role Description
  Plain text file HttpClient.php Class Class source
  Plain text file HttpRequestExecuted.php Class Class source

  Files folder image Files (16)  /  src  /  Processors  
File Role Description
  Plain text file GitInfoProcessor.php Class Class source
  Plain text file MemoryProcessor.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:22
This week:0
All time:11,258
This week:67Up