rodrigopedra/laravel-query-logger 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rodrigopedra/laravel-query-logger

最新稳定版本:v8.0.0

Composer 安装命令:

composer require rodrigopedra/laravel-query-logger

包简介

Laravel query logger

README 文档

README

  • for Laravel versions 5.0 and 5.1 use the 1.0 release
  • for Laravel versions from 5.2 to 7.x with PHP < 7.4 use 2.x release

Writes all queries to the log when APP_DEBUG=true.

This package tries to replace the bindings with their values so SQL queries becomes easier to debug.

Installation

composer require rodrigopedra/laravel-query-logger --dev

Configuration

As releases 3.x+ requires at least Laravel version 5.5, the service provider should be configured automatically using Laravel's package auto-discovery.

If you are not using pakacge auto-discovery, you will need to add the provider to your config/app.php:

// in your config/app.php add the provider to the service providers array

'providers' => [
    /* ... */
    
    'RodrigoPedra\QueryLogger\QueryLoggerServiceProvider',
]

License

This package is open-sourced software licensed under the MIT license

统计信息

  • 总下载量: 11.83k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固