Compatible with PHP >= 7.0.
This is a library-template for writing custom PHP library functions
For PHP version >= 7.0
:
composer require Rndoom04/example
Firstly init the library by simply "use".
use Rndoom04\example;
Then set load the library and set it how you want.
$spamdetector = new \Rndoom04\example\example();