PHPackages                             fatty-rabbit/sql-log - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. fatty-rabbit/sql-log

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

fatty-rabbit/sql-log
====================

0.6.0(5y ago)0174MITPHPPHP &gt;=5.6CI failing

Since Aug 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/FattyRabbit/SqlLog)[ Packagist](https://packagist.org/packages/fatty-rabbit/sql-log)[ RSS](/packages/fatty-rabbit-sql-log/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Laravel SQL Log
===============

[](#laravel-sql-log)

[![Build Status](https://camo.githubusercontent.com/0a9080f1d32c4532c826bc26bc6a883268d15fb7f06b47e95b9b5dd6cff8a0e1/68747470733a2f2f7472617669732d63692e6f72672f46617474795261626269742f53716c4c6f672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/FattyRabbit/SqlLog)[![Latest Stable Version](https://camo.githubusercontent.com/3a91f1e4c6f719475aac03c870187494e1355b9c1ced7aafc00c9370976357b2/68747470733a2f2f706f7365722e707567782e6f72672f66617474792d7261626269742f73716c2d6c6f672f762f737461626c65)](https://packagist.org/packages/fatty-rabbit/sql-log)[![Total Downloads](https://camo.githubusercontent.com/87202b7dc8d842dae9f893b8d0f2c6230bcd2b17ec8b3a11aa1664fff5773e7b/68747470733a2f2f706f7365722e707567782e6f72672f66617474792d7261626269742f73716c2d6c6f672f646f776e6c6f616473)](https://packagist.org/packages/fatty-rabbit/sql-log)[![License](https://camo.githubusercontent.com/299f60f5725ef58d7f9d54157d1ac3fede704884afb615a60e26300eee444c93/68747470733a2f2f706f7365722e707567782e6f72672f66617474792d7261626269742f73716c2d6c6f672f6c6963656e7365)](https://packagist.org/packages/fatty-rabbit/sql-log)

Laravel 5.3
-----------

[](#laravel-53)

For Laravel versions 5.3+, please continue below.

Install Sql Log:

```
composer require fatty-rabbit/sql-log
```

Add the Service Provider:

```
'providers' => array(
    # other providers omitted
    'FattyRabbit\SqlLog\SqlLogSearviceProvider',
);
```

Publish the package config file to `config/sqllog.php`:

```
$ php artisan vendor:publish --provider="FattyRabbit\SqlLog\SqlLogSearviceProvider"
```

Then edit the published configuration file `config/sqllog.php` as needed.

```
