This package will display your laravel log files in a popup window when you type in the Konami code key combination [up-up-down-down-left-right-left-right-B-A]. Once open you have the option to view any files in the log directory.
You can install the package via composer:
composer require marchampson/laravel-konami-log-viewerYou can publish the Javascript file with:
php artisan vendor:publish --tag="konami-log-viewer-assets"Optionally, you can publish the views using
php artisan vendor:publish --tag="konami-log-viewer-views"Once the assets are published (above). Call the JS file in your main layout file and then invoke using the key combination.
<script src="{{ asset('vendor/konami-log-viewer/js/konami-log-viewer.js')}}"></script>Please remember that view-source will expose the key combination so that anyone will be able to view your logs. Future releases may address this but you could wrap the javascript call in a blade helper that only shows to users with a certain role.
composer testPlease see CHANGELOG for more information on what has changed recently.
This package is used entirely at your own risk. If you wish to report a vulnerability, please contact me directly.
The MIT License (MIT). Please see License File for more information.