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   View files Documentation   View files View files (16)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-04-23 (29 days ago) RSS 2.0 feedNot enough user ratingsTotal: 14 All time: 11,277 This week: 60Up
Version License PHP version Categories
laravel-profiler 1.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
Nominee
Vote
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: 4263117 in Russian Federation Russian Federation
Week rank: 10 Up1 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  
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  /  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  /  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  /  src  /  Processors  
File Role Description
  Plain text file GitInfoProcessor.php Class Class source
  Plain text file MemoryProcessor.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:14
This week:0
All time:11,277
This week:60Up