PHP code example of tzk / taiga-laravel

1. Go to this page and download the library: Download tzk/taiga-laravel 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/ */

    

tzk / taiga-laravel example snippets


TZK\TaigaLaravel\TaigaServiceProvider::class,

'Taiga' => TZK\TaigaLaravel\Facades\Taiga::class,

$taiga = Taiga::newInstance();
$issues = $taiga->issues()->getList(['project' => $projectId]);

// or

// If you do not use Taiga::newInstance(), it will create automatically a new one
// each time you call a method via the facade.
$issues = Taiga::issues()->getList(['project' => $projectId]);

$taiga = app(\TZK\Taiga\Taiga::class)...
sh
php artisan vendor:publish --provider="TZK\TaigaLaravel\TaigaServiceProvider"