Download the PHP package socialblue/laravel-query-adviser without Composer

On this page you can find all versions of the php package socialblue/laravel-query-adviser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
socialblue/laravel-query-adviser
Rate from 1 - 5
Rated 3.00 based on 1 reviews

Informations about the package laravel-query-adviser

Laravel-Query-Adviser

Latest Version on Packagist Quality Score Total Downloads

With Laravel Query Adviser you can get more insights into the SQL queries created by Eloquent models used in your app. It logs the queries used by your application and provides a helpful overview of the SQL queries. You can rerun the SQL query to analyze the database impact or copy the SQL query to your clipboard. The handy card view allows you to quickly point out the pain points of your application's SQL queries.

Features

Query Logging Web app Chrome DevTool Code
Use cache driver
Eloquent Queries
Routes
Stack trace
Tinker Support
Job Support
MySql Support
Start session Start Session
Stop session Stop Session
Export Session
Import Session
Query Grouping
Query Ordering
Explain Query
Re-execute Query
Copy to clipboard
Show realtime query usage
dd query builder query
dump query builder query
dd eloquent model query
dump eloquent model query

Installation

You can install the package via composer:

Publish Laravel-Query-Adviser

Publish the front-end application after updating

When updating from 0.13.2 to 0.14.0 please use

Install Chrome developer tool

When you want to be able to start and stop the log sessions and see realtime query information from your current browser tab. You can install the Chrome developer tool in the Chrome web store.

Usage

Output queries inline

Dump and die

or just dump

both dump this array

Start query logging session

  1. To start a query log session goto {app_url}/query-adviser/
  2. Press play and open the pages of your app you want to log the queries of
  3. Stop the session and click on the session bar to see all the details.

Session stepper

Session list

Brows through session overview

Query time-line

collapse and expand the panels for less or more information about the queries executed in that time frame.

Groups

You can group the queries by time, routes and rawQuery. Also you can clear the cached queries by pressing the eject button.

group by time, routes, referer, raw queries, queries with bindings, and query time

Sort

Sort the time line by last inserted, slowest query, and most occurrences

Query card

Re-execute a query, get query information, and copy the query to your clipboard

Query labels

As of version 0.10.0, the query card has labels related to the class, file and function of the query executed from your app folder.

File Information

Open the explain dialog to see more information about the query.

Query information

Re-execute Query

Testing

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.


All versions of laravel-query-adviser with dependencies

PHP Build Version
Package Version
Requires php Version *
ext-json Version *
ext-pdo Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package socialblue/laravel-query-adviser contains the following files

Loading the files please wait ....