Download the PHP package imamhsn195/laravel-system-logs without Composer
On this page you can find all versions of the php package imamhsn195/laravel-system-logs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download imamhsn195/laravel-system-logs
More information about imamhsn195/laravel-system-logs
Files in imamhsn195/laravel-system-logs
Package laravel-system-logs
Short Description A comprehensive Laravel package for viewing and managing system logs with an intuitive web interface
License MIT
Informations about the package laravel-system-logs
Laravel System Logs
A comprehensive Laravel package for viewing and managing system logs with an intuitive web interface.
Features
- 📋 View log entries from multiple files
- 🔍 Advanced filtering and search (channel, level, environment, date, text search)
- 🗑️ Delete single or bulk entries
- 📁 Recursive directory scanning with depth limits
- 🎨 Flexible layout support (works with any Laravel layout)
- 🔒 Security features (path validation, file size limits)
- 📱 Responsive design
- 🌐 Multi-language support
- ⚡ Real-time filtering via AJAX
Requirements
- PHP 8.1 or higher
- Laravel 10.x, 11.x, or 12.x
Installation
Via Packagist (Recommended)
Via Composer (from GitHub)
If you need to install from the GitHub repository directly:
Add the repository to your composer.json:
Then run:
Configuration
Publish the configuration file:
This will create config/system-logs.php where you can customize:
- Log directory path
- Route prefix and middleware
- Permission names
- UI layout
- Filter defaults
- Directory scanning options
- Security settings
Usage
Basic Usage
After installation, navigate to /admin/system-logs (or your configured prefix).
Custom Layout
The package supports any Laravel layout. Configure it in config/system-logs.php:
Permissions
The package uses Laravel's permission system. Configure permission names:
Make sure to add these permissions to your permission system.
Publishing Assets
Publish CSS and JavaScript files:
Publishing Views (Optional)
If you want to customize the views:
Publishing Translations (Optional)
If you want to customize translations:
Features
Filtering
- Channel: Filter by log channel (single, daily, stack, etc.)
- File: Filter by specific log file
- Level: Filter by log level (debug, info, warning, error, etc.)
- Environment: Filter by environment (local, production, etc.)
- Date: Filter entries by specific date
- Search: Full-text search across messages and context
Deletion
- Single Entry: Delete individual log entries
- Bulk Delete: Delete multiple selected entries
- Bulk Delete by Filters: Delete all entries matching current filters (with confirmation)
Recursive Scanning
The package can scan subdirectories recursively:
Configuration Options
Log Directory
Route Configuration
UI Configuration
Filter Defaults
API Routes
GET /admin/system-logs- View log entriesDELETE /admin/system-logs- Delete single entryDELETE /admin/system-logs/bulk- Bulk delete selected entriesDELETE /admin/system-logs/bulk-by-filters- Bulk delete by filters
Testing
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
License
MIT License. See LICENSE file for details.
Author
Imam Hasan
- Website: imamhasan.me
- GitHub: @imamhsn195
- LinkedIn: in/imamhsn195
Support
If you find this package useful, please consider giving it a ⭐ on GitHub!
Changelog
Please see CHANGELOG for more information on what has changed recently.
All versions of laravel-system-logs with dependencies
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/http Version ^10.0|^11.0|^12.0
illuminate/view Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
illuminate/filesystem Version ^10.0|^11.0|^12.0