kaizer666 / flock_laravel_library
Flock PHP library
dev-master
2018-03-04 13:15 UTC
Requires
- guzzlehttp/guzzle: ^6.2
- illuminate/http: ~5.1
- tymon/jwt-auth: 0.5.*
This package is not auto-updated.
Last update: 2024-12-26 19:40:05 UTC
README
PHP SDK for flockOS. This Library is in development stage.
Installation
To resolve those dependencies you can do it in two ways.
- Register your Flock Facade by adding in config
app.php
file
'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
Few are the APIs available for now
- 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...