Download the PHP package anik/laravel-query-logger without Composer

On this page you can find all versions of the php package anik/laravel-query-logger. 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?

Informations about the package laravel-query-logger

Laravel/Lumen Query Logger

:pencil: A dev tool to log all queries for Laravel/Lumen application.

Installing

Please keep the --dev option.

Usage

  1. You need to EXPLICITLY define LOG_DB_QUERIES to some values you wish. (bool) false will not log any query.
  2. If LOG_DB_QUERIES is set to daily, it'll log on daily basis.
  3. For Lumen you must have to register the ServiceProvider in bootstrap/app.php.

Or

============ URL: http://laravel.app/discussions ===============
[2019-01-27 18:52:14] [.....800μs] select count(*) as aggregate from `discussions` where `discussions`.`deleted_at` is null
[2019-01-27 18:52:14] [....1.07ms] select * from `discussions` where `discussions`.`deleted_at` is null order by `is_top` desc, `created_at` desc limit 15 offset 0
[2019-01-27 18:52:14] [.....3.63s] select `tags`.*, `taggables`.`taggable_id` as `pivot_taggable_id`, `taggables`.`tag_id` as `pivot_tag_id` from `tags` inner join `taggables` on `tags`.`id` = `taggables`.`tag_id` where `taggables`.`taggable_id` in ('1', '2', '3', '4', '5', '6', '7', '8') and `taggables`.`taggable_type` = 'App\\Models\\Discussion' order by `order_column` asc
[2019-01-27 18:52:14] [.....670μs] select * from `users` where `users`.`id` in ('1', '2', '4') and `users`.`deleted_at` is null
================================================================================

License

MIT


All versions of laravel-query-logger with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
illuminate/support Version ^5.2|^5.3|^5.4|^5.5|^5.6|^5.7
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 anik/laravel-query-logger contains the following files

Loading the files please wait ....