venkatesanchinna / log-monitor
Provides Laravel error log monitor
Requires
- php: ^7.1 || ^7.2 || ^7.3 || ^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3
- ext-json: *
- illuminate/contracts: ^5.4 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0
- illuminate/support: ^5.4 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0
- psr/log: ^1.0 || ^1.1 || ^2.0 || ^3.0
Requires (Dev)
- laravel/framework: ^5.4 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0
- mockery/mockery: ^1.3 || ^1.4.4 || ^1.5.1
- orchestra/testbench: ^3.6 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0
- phpunit/phpunit: ^6.5 || ^7.0 || ^8.0 || ^9.5 || ^10.0
This package is not auto-updated.
Last update: 2025-05-14 07:07:34 UTC
README
Log Monitor is a Laravel package that provides an intuitive UI for viewing and managing application logs. It supports all Laravel versions and works seamlessly with Bootstrap 3 and 4.
Features
- Supports all Laravel versions
- UI built with Bootstrap 3 & 4
- Real-time log monitoring
- Easy installation and configuration
- Lightweight and fast
- Can preview cusom logs
- Folder based logs
Installation
You can install the package via Composer:
composer require venkatesanchinna/log-monitor
If you encounter stability issues, you may need to specify the development branch:
composer require venkatesanchinna/log-monitor:dev-master
Publish Assets and Configurations
After installing, publish the package assets and config files:
php artisan vendor:publish --tag=log-monitor-assets php artisan vendor:publish --tag=log-monitor-config
Configuration
The configuration file can be found at:
config/log-monitor.php
You can update settings such as log file location, UI preferences, and log levels.
Usage
Accessing the Log Monitor
After installation, you can access the log monitor UI by visiting:
http://your-app-domain/log-monitor
Blade Integration
You can include the log monitor in your Blade templates:
@include('log-monitor::dashboard')
Publishing Views
To customize the UI, you can publish the views:
php artisan vendor:publish --tag=log-monitor-views
The views will be available in:
resources/views/vendor/log-monitor/
Translations
To use translations, publish the language files:
php artisan vendor:publish --tag=log-monitor-lang
Translations will be stored in:
resources/lang/vendor/log-monitor/
Artisan Commands
Log Monitor provides the following artisan commands:
log-monitor:check # Check all LogMonitor requirements. log-monitor:clear # Clear all generated log files. log-monitor:publish # Publish all LogMonitor resources and config files. log-monitor:stats # Display stats of all logs.
Credits
This package was inspired from ARCANEDEV/LogViewer.
Author
Venkatesan C
Email: venkatesangee@gmail.com
License
This package is open-sourced software licensed under the MIT license.