libern/laravel-sql-logging
Composer 安装命令:
composer require libern/laravel-sql-logging
包简介
Laravel 5 package for logging SQL queries.
README 文档
README
Laravel 5 package for logging SQL queries.
Install
Require this package with composer using the following command:
composer require libern/laravel-sql-logging
Or just add libern/laravel-sql-logging to your composer.json file:
{ "require": { "libern/laravel-sql-logging": "dev-master" } }
After updating composer, add the service provider to the providers array in config/app.php
"Libern\SqlLogging\SqlLoggingServiceProvider",
You can also publish the config file to enable/disable the logging.
php artisan vendor:publish --provider="Libern\SqlLogging\SqlLoggingServiceProvider"
统计信息
- 总下载量: 4.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-26