package laravel-profiler-admin
alanvaill/laravel-profiler-admin
- Wednesday, February 1, 2017
- by jeremygiberson
- Repository
- 1 Watchers
- 1 Stars
- 7 Installations
- JavaScript
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 2 Open issues
- 2 Versions
- 40 % Grown
, (*1)
Laravel Profiler Admin is a laravel (5.3) package that provides a UI to aggregate and view your application profiling information. While the UI is a laravel package, the reporting mechanisms that collect profiling information are designed to be framework agnostic., (*2)
Installation (Co-habit w/ your existing app)
Assuming you already have a laravel project started this will install the admin in your project, (*3)
- Change to your project directory
cd path/to/project
- Install the package
composer require alanvaill/laravel-profiler-admin
- Add the package provider
AlanVaill\LaravelProfilerAdmin\Providers\ServiceProvider
to your app providers configuration
- Run migration for new profiling tables
php artisan migrate:status
and php artisan migrate
(This will install tables transaction_reports
, query_logs
, transaction_traces
, error_logs
in your app database)
- Add the package provider
AlanVaill\LaravelProfilerAdapter\ServiceProvider
to your app providers configuration Note order is important here, you must run migrations before adding this provider
- Publish public assets for the package with
php artisan vendor:publish
- Visit
/profiler
path of your project url ie http://myproject.app/profiler
Road Map
V1.0
- Provide a (laravel based) profiling UI โ
- dashboard overview โ
- with top transactions drill down โ
- trace breakdown of function timing/memory usage
- database queries drill down โ
- and error log messages โ
- Provide a profiler package that defines framework agnostic interface โ
- Provide a laravel adapter profiler concrete implementation โ
- Support profiling a laravel application co-hosted in the laravel database (multiple app servers supported) โ
- Provide documentation for installation
V2.0
- PSR7 middleware profiler
- Doctrine db adapter
- more to come ..
>>>>>>> b0782de1b6a8931b5d927e1299b79acfee9c2930