PHP code example of yoerioptr / tabt-api-bundle

1. Go to this page and download the library: Download yoerioptr/tabt-api-bundle 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/ */

    

yoerioptr / tabt-api-bundle example snippets


// config/bundles.php

return [
    // ...

    Yoerioptr\TabtApiBundle\TabtApiBundle::class => ['all' => true],
];

use Yoerioptr\TabtApiClient\TabtInterface;

final class ExampleService
{
    public function __construct(
        private readonly TabtInterface $tabt,
    ) {
    }

    public function example(): void
    {
        $testResponse = $this->tabt->test()->info();
    }
}

$testResponse = $this->tabt->test()->info();
yaml
tabt_api:
    username: null
    password: null