PHP SDK for flockOS. This Library is in development stage.
To resolve those dependencies you can do it in two ways.
- Register your Flock Facade by adding in config
app.phpfile
'Flock' => Qafeen\Flock\Flock::class,If you are on laravel 5.4 then you can do it easily by using and laravel will take care to resolve.
use Facades\Qafeen\Flock\Flock- To decrept jwt token you can do it easily by
$response = Flock::decodePayload();- To Log an event in database
Flock::logEvent();And few more API is comming soon...