1. Go to this page and download the library: Download tzm/authorizator 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/ */
tzm / authorizator example snippets
use App\Services\AuthorizationActions\Transaction;
class TransactionController extends Controller
{
public function create()
{
return Transaction::createAuth()->response();
}
}
use App\Services\AuthorizationActions\Transaction;
class TransactionController extends Controller
{
public function create()
{
return Transaction::createAuth()->response();
}
}