PHP code example of ericlagarda / temporal
1. Go to this page and download the library: Download ericlagarda/temporal library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ericlagarda / temporal example snippets
EricLagarda\Temporal\TemporalServiceProvider::class
$myToken = Temporal::create($modelId, $expireTime); //$expireTime in minutes to expire
$isValid = Temporal::check($token); //$token appended to url