A PSR-3 / Monolog Journal for PHP Scientist. Originally created and composer packaged by Nikko Bautista.
This project is my version updating to support latest Scientist, removing NX namespace, and upgrading code to PHP 7.2.
Add repository:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/spenserhale/scientist-psr3-journal"
}
],`
Require package:
composer require spenserhale/scientist-psr3-journal
$config = new \Scientist\Journal\PSR3JournalConfig(); //or anything that implements \Scientist\Journal\Contracts\PSR3ConfigInterface
$logger = new \Monolog\Monolog(); // or anything that implements Psr\Log\LoggerInterface
$journal = new \Scientist\Journals\PSR3Journal($logger, $config);
Original Copyright © 2016 Nikko Bautista; Current Copyright © 2018 Spenser Hale; Code released under the MIT license.