PHP code example of ministryofweb / monolog-zulip-handler
1. Go to this page and download the library: Download ministryofweb/monolog-zulip-handler library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ministryofweb / monolog-zulip-handler example snippets
use Monolog\Logger;
use MinistryOfWeb\Monolog\Handler\ZulipHandler;
'zulip.example.com',
'[email protected]',
'flokquomwaysufdipsoccupeojajipjeoliv',
'Application Errors',
'appname',
Logger::ERROR
)
);