Download the PHP package halilcosdu/laravel-logweaver without Composer
On this page you can find all versions of the php package halilcosdu/laravel-logweaver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download halilcosdu/laravel-logweaver
More information about halilcosdu/laravel-logweaver
Files in halilcosdu/laravel-logweaver
Package laravel-logweaver
Short Description Laravel S3-compatible log system.
License MIT
Homepage https://github.com/halilcosdu/laravel-logweaver
Informations about the package laravel-logweaver
Laravel S3-compatible log system.
Laravel LogWeaver
Laravel LogWeaver is a PHP package designed to provide a simple and flexible way to log events in your Laravel application. It offers a fluent interface for creating logs, allowing you to easily specify the log level, resource, content, and storage disk.
Features
- Fluent Interface: Easily create logs with a fluent, chainable interface.
- Multiple Log Levels: Supports different log levels including 'info', 'warning', 'error', and 'critical'.
- Resource Specification: Specify the resource of the log, such as 'system' or 'event'.
- Customizable Storage: Choose your storage disk and directory.
- Parameter Validation: Ensures the validity of log parameters before logging.
- Array and JSON Conversion: Convert your logs to array or JSON format.
- Asynchronous Logging: Log events asynchronously with optional waiting for the log to be written to the disk.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
If you want to disable built-in validation, you can use the following methods:
Built-in validations are:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Halil Cosdu
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-logweaver with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0