LaravelPackages.net
Acme Inc.
Toggle sidebar
sarfraznawaz2005/queryline

QueryLine is a laravel package to show time graph against run quries on a page.

39
7
1.1.0
About sarfraznawaz2005/queryline

sarfraznawaz2005/queryline is a Laravel package for queryline is a laravel package to show time graph against run quries on a page.. It currently has 7 GitHub stars and 39 downloads on Packagist (latest version 1.1.0). Install it with composer require sarfraznawaz2005/queryline. Discover more Laravel packages by sarfraznawaz2005 or browse all Laravel packages to compare alternatives.

Last updated

Laravel QueryLine

Code Climate laravel 5.1 laravel 5.2 laravel 5.3 downloads

Introduction

QueryLine is a laravel package to show time graph against run queries on a page thereby allowing to see which are slow/fast queries running on the page.

Screenshot

Main Window

Requirements

  • PHP >= 5.6
  • Laravel 5

Installation

Install via composer

composer require sarfraznawaz2005/queryline

Add Service Provider to config/app.php in providers section

Sarfraznawaz2005\QueryLine\ServiceProvider::class,

Run php artisan vendor:publish to publish package's config file. You should now have queryline.php file published in app/config folder.

Config Options

  • enabled : Enable or disable QueryLine. By default it is disabled. If you are on local environment, you can also just add QUERYLINE=true to env file to enable it.
  • querystring_name : Whatever value for this config is set, you will be able to see all running quries by appending this value in your url as query string. Example: http://www.yourapp.com/someurl?vvv. Default value is vvv.

QueryDumper

License

This code is published under the MIT License. This means you can do almost anything with it, as long as the copyright notice and the accompanying license file is left intact.

Star History Chart