Its easy to install Consolari php-logger through composer.

The php-logger is a wrapper around the API which makes it fast to integrate into any PHP framework using composer.

Make sure composer is installed in your root by running this one liner installer. This should be outside webroot.

Then add composer.json in the root with this contents

Now you run composer and install the lib

Final step is to include the autoload which will take care of including
the consolari and its dependicies