pinebucket / php-client
A small PHP client for pinebucket.com
Fund package maintenance!
Nyholm
Requires
- php: >=7.2
- ext-curl: *
Requires (Dev)
- monolog/monolog: ^2.3
- phpunit/phpunit: ^8.5 || ^9.5
- psr/log: ^1.1
This package is not auto-updated.
Last update: 2024-12-18 08:42:33 UTC
README
Pinebucket is a simple logging platform where you can easily search for log entries across multiple platform. Is is not a big complex monster, but a good first tool to get started with professional logging.
Install
composer require pinebucket/php-client
Use
The simplest way to get started is to register error handlers. This will make sure we log all errors and uncaught exceptions.
\Pinebucket\Client\Pinebucket::register('my-project-key');
Monolog
You may also integrate with Monolog my using the MonologHandler
.
PSR-3
Or use the PinebucketLogger
which is a PSR-3 logger.