tomatophp / laravel-logstash
Elastic Logstash integration for Laravel Apps
Fund package maintenance!
3x1io
Requires
- php: ^8.1|^8.2
- guzzlehttp/guzzle: *
- laravel/framework: *
- monolog/monolog: *
- tomatophp/console-helpers: ^1.1
Requires (Dev)
- laravel/pint: ^1.18
- nunomaduro/larastan: ^2.9
- orchestra/testbench: ^9.5
- pestphp/pest: ^2.36
- pestphp/pest-plugin-laravel: ^2.4
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-deprecation-rules: ^1.2
- phpstan/phpstan-phpunit: ^1.4
This package is auto-updated.
Last update: 2025-01-08 04:56:17 UTC
README
Laravel Logstash Log Channel
Elastic Logstash log channel for Laravel apps
Installation
composer require tomatophp/laravel-logstash
on your env add your host with port as a direct http connection on your env, and change the log channel to logstash
LOGSTASH_HOST=https://log.tomatophp.com LOG_CHANNEL=logstash
Publish Assets
you can publish config file by use this command
php artisan vendor:publish --tag="laravel-logstash-config"
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security
Please see SECURITY for more information about security.
Credits
License
The MIT License (MIT). Please see License File for more information.
Testing
if you like to run PEST
testing just use this command
composer test
Code Style
if you like to fix the code style just use this command
composer format
PHPStan
if you like to check the code by PHPStan
just use this command
composer analyse
Other Filament Packages
Checkout our Awesome TomatoPHP