{"repo":"overtrue/laravel-query-logger","free":true,"listed":false,"github":"https://github.com/overtrue/laravel-query-logger","clone":"git clone https://github.com/overtrue/laravel-query-logger.git","description":":pencil: A dev tool to log all queries for laravel application.","language":"PHP","stars":408,"topics":["laravel","query","logger","query-logger"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Laravel Query Logger :pencil: A dev tool to log all queries for Laravel application. Installing Laravel Query Logger will be enabled when LOG QUERY is true . Usage [2017-09-05 14:52:14] local.DEBUG: [800μs] select count( ) as aggregate from discussions where discussions . deleted at is null GET: http://laravel.app/discussions [2017-09-05 14:52:14] local.DEBUG: [1.07ms] select from discussions where discussions . deleted at is null order by is top desc, created at desc limit 15 offset 0 GET: http://laravel.app/discussions [2017-09-05 14:52:14] local.DEBUG: [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 GET: http://laravel.app/discussions [2017-09-05 14:52:14] local.DEBUG: [670μs] select from users where users . id in ('1', '2', '4') and users . deleted at is null GET: http://laravel.app/discussions ... Configuration You can also control whether to log a query via the configuration file： config/logging.php: :heart: Sponsor me 如果你喜欢我的项目并想支持它，点击这里 :heart: Project supported by JetBrains Many thanks to Jetbrains for kindly providing a license for me to work on this and other open-source projects. PHP 扩展包开发 想知道如何从零开始构建 PHP 扩展包？ 请关注我的实战课程，我会在此课程中分享一些扩展开发经验 —— 《PHP 扩展包实战教程 - 从入门到发布》 License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/overtrue","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/overtrue/laravel-query-logger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}