Looking to hire Laravel developers? Try LaraJobs

laravel_db_log maintained by gpxcat

Description
自製的Laravel DB 查詢 Log
Author
Last update
2022/04/29 03:32 (dev-main)
Links
Downloads
345

Comments
comments powered by Disqus

gpxcat's laravel_db_log

Add the environment variable to your .env file:

LOG_LEVEL=debug
DB_LOG=1

Laravel 5.5+ Integration

Laravel's package discovery will take care of integration for you.

Laravel 5.* Integration

Add the service provider to your config/app.php file:


    'providers'     => array(

        //...
        Gpxcat\LaravelDbLog\DBLogServiceProvider::class,

    ),