Download the PHP package stechstudio/piton without Composer
On this page you can find all versions of the php package stechstudio/piton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stechstudio/piton
More information about stechstudio/piton
Files in stechstudio/piton
Package piton
Short Description PSR-3 Compatible Splunk Storm Logging
License MIT
Homepage https://github.com/stechstudio/Piton
Informations about the package piton
PITON
The PSR-3 Compliant SplunkStorm Logger for PHP
Piton was developed in order to allow simple access to the SplunkStorm REST API from PHP code. While we use the SplunkStorm log shippers for the majority of our applications, we ran into cases of short lived tasks, running on short lived EC2 instances, that didn't warrant setting up log shipping.
However, we did desire the ability to capture the logs on SplunkStorm. Because the majority of these tasks run on Iron.io's IronWorker and are CLI based, we also desired the ability to log to the console. Thus, our logger ships with console and splunk appenders.
We also happen to think highly of the PHP FIG standards, and desire to meet them where possible. After writing the logger for ourselves, we decided others might want to leverage it to, and are releasing it into the wild.
Build Status | Code Coverage | |
---|---|---|
Master | ||
Develop |
Installation / Usage
-
Download the
composer.phar
executable or use the installer. -
Create a composer.json defining your dependencies. Note that this example is a short version for applications that are not meant to be published as packages themselves. To create libraries/packages please read the documentation.
- Run Composer:
php composer.phar install
- Browse for more packages on Packagist.
Documentations
Check out the docs/api directory.
Examples
Check out the examples directory.
Quickstart
You will need a SplunkStorm Project API Hostname, Project ID, and Access Token. You can find them in the data section of your SplunkStorm Project. Select Data, the API, and you will find everything you need.