{"repo":"hesamzakerirad/laravel-flashlight","free":true,"listed":false,"github":"https://github.com/hesamzakerirad/laravel-flashlight","clone":"git clone https://github.com/hesamzakerirad/laravel-flashlight.git","description":"A Highly Customizable Laravel Package to Log Requests","language":"PHP","stars":14,"topics":["laravel","logging","http","php"],"license":"MIT","category":"databases-storage","readme_excerpt":"Laravel Flashlight Laravel-Flashlight is a minimal package to log incoming requests to your application; it is highly customizable and easy to install. How to install? Take these steps to install Flashlight. Step #1 Install the package from Composer. Step #2 Publish congifuration file. Step #3 Publish migration file. (Only if you want to store logs inside your database.) Step #4 Apply middleware on routes. And you're done! Now every request that goes through Flashlight will be logged to be monitored later. Note that all Flashlight logs are stored in flashlight.log file under storage/logs . --- How to customize Flashlight? Kill Switch If you wish to turn Flashlight on/off for a short time, you can do so by editing enabled key inside flashlight.php config file under App/config . Note that by default Flashlight is enabled. --- Driver Option There are a number of drivers you can choose to log the incoming requests to your application. You could choose file or database which will respectively store log records in a local file or a database table. You can change the driver by editing driver key inside flashlight.php config file under App/config . (This value corresponds to an existing key inside drivers array.) Note that Flashlight uses file driver as its default driver. --- HTTP Method Customization If you wish to customize HTTP methods to log, you can do so by editing excluded methods array inside flashlight.php config file under App/config . For example: By doing this, all PUT r","default_branch":null,"files":null,"tree":[],"storefront":"/r/hesamzakerirad","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hesamzakerirad/laravel-flashlight/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."}