Installing Log Viewer
Prerequisites
Here are the requirements for installing and using the Log Viewer.
- PHP 8.0 or higher
- Laravel 8 or higher
Installing the package via Composer
To install the package via composer, run:
composer require opcodesio/log-viewer
Once installed, the package is now ready to use! Just visit the /log-viewer
route in your browser.
For example: http://my-app.test/log-viewer
.
Publishing the configuration
If you would like to configure the route, or to include additional log files, you can publish the configuration file by running:
php artisan vendor:publish --tag="log-viewer-config"
You can then find the configuration file at config/log-viewer.php
.
Next steps
After you have installed Log Viewer, here are some common next steps to learn: