PHP code example of jmadsm / tenant-service-client
1. Go to this page and download the library: Download jmadsm/tenant-service-client 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/ */
jmadsm / tenant-service-client example snippets
use Illuminate\Support\Facades\App;
use JmaDsm\TenantService\Client as TenantServiceClient;
$tenantToken = (App::make(TenantServiceClient::class))->token;
console
php artisan vendor:publish --tag=tenant-config --ansi