PHP code example of laravel-gtm / safebase-sdk
1. Go to this page and download the library: Download laravel-gtm/safebase-sdk 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/ */
laravel-gtm / safebase-sdk example snippets
use LaravelGtm\SafebaseSdk\SafebaseSdk;
$sdk = app(SafebaseSdk::class);
use LaravelGtm\SafebaseSdk\SafebaseSdk;
$sdk = SafebaseSdk::make(
baseUrl: 'https://app.safebase.io',
token: 'your-token',
);
bash
php artisan vendor:publish --tag=safebase-sdk-config