Download the PHP package jmluang/logtailer-client-sdk without Composer
On this page you can find all versions of the php package jmluang/logtailer-client-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jmluang/logtailer-client-sdk
More information about jmluang/logtailer-client-sdk
Files in jmluang/logtailer-client-sdk
Download jmluang/logtailer-client-sdk
More information about jmluang/logtailer-client-sdk
Files in jmluang/logtailer-client-sdk
Vendor jmluang
Package logtailer-client-sdk
Short Description Logtailer Client SDK for PHP - Log aggregation service client
License MIT
Package logtailer-client-sdk
Short Description Logtailer Client SDK for PHP - Log aggregation service client
License MIT
Please rate this library. Is it a good library?
Informations about the package logtailer-client-sdk
Jmluang Logtailer Client SDK
A PHP SDK for integrating with Logtailer log aggregation service, with full Monolog 3.x support.
Installation
Requirements
- PHP 8.1 or higher
- ext-curl
- ext-json
- monolog/monolog ^3.0
Laravel Integration
Step 1: Install the package
Step 2: Add configuration to .env
Step 3: Configure Laravel Logging
Add this channel to your config/logging.php:
Step 4: Use in your application
Standard PHP Usage
Basic Usage with LogtailHandler
Using the Builder Pattern
Testing
Install Dependencies
Run Tests
Test Structure
Configuration Options
LogtailHandler
sourceToken(string): Authentication token for Logtailerlevel(Level): Minimum log level (default: Debug)bubble(bool): Whether to bubble messages (default: true)endpoint(string): Logtailer endpoint URLbufferLimit(int): Max buffered entries (default: 1000)flushOnOverflow(bool): Flush when buffer is full (default: true)connectionTimeoutMs(int): Connection timeout in ms (default: 5000)timeoutMs(int): Request timeout in ms (default: 5000)flushIntervalMs(int|null): Auto-flush interval in ms (default: 5000)
Examples
Logging with Context
Exception Logging
Multiple Channels
License
MIT
Support
For issues and feature requests, please open an issue on GitHub.
All versions of logtailer-client-sdk with dependencies
PHP Build Version
Package Version
The package jmluang/logtailer-client-sdk contains the following files
Loading the files please wait ...