Functions class

Today I want to provide some (more or less) useful functions.

You will need the external libraries Monolog and Psr Log.

The documentation in the class should be sufficient to understand what the individual functions do.

First we need to add the Monolog library to our autoloader:

Also we need to define two constants somewhere in our code (This will be handled later by our config class):

PROJECT_ROOT/vendor/PHPluz/Functions.php

Leave a Reply