PHP code example of mango-chutney / artez-api-wrapper

1. Go to this page and download the library: Download mango-chutney/artez-api-wrapper 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/ */

    

mango-chutney / artez-api-wrapper example snippets


use MangoChutney\ArtezApiWrapper\ApiWrapper;

$config = [
    'orgId' => 'ARTEZ_ORG_ID',
    'apiKey' => 'ARTEZ_API_KEY',
    'baseUrl' => 'ARTEZ_BASE_URL',
    'path' => '/api',
];

$wrapper = new ApiWrapper($config);

$wrapper->start();