PHP code example of carltonsoftware / tabs2-php-client

1. Go to this page and download the library: Download carltonsoftware/tabs2-php-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/ */

    

carltonsoftware / tabs2-php-client example snippets


    

    client\client\Client::factory(
        'https://apiurl/v2/', // Api Url: this will be provided to you.
                              // NOTE: This url should end in '/v2/'
        'abc', // Api username: this will be provided to you
        'def', // Api password: this will be provided to you
        '14_hij', // Api client key: this will be provided to you
        'klm'  // Api client secret: this will be provided to you
    );

    $prop = new \tabs\apiclient\Property(1);
    $prop->get();

    echo $prop->getName();
    
json
    {
        "repositories": [{
            "type": "vcs",
            "url": "[email protected]:carltonsoftware/tabs2-php-client.git"
        }],
        "

    curl -sS https://getcomposer.org/installer | php
    ./composer.phar install