PHP code example of nodeless-io / nodeless-php

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

    

nodeless-io / nodeless-php example snippets




// Require the autoload file.
.
$apiKey = '';
$host = ''; // e.g. https://nodeless.io

try {
    $client = new \NodelessIO\Client\Store($host, $apiKey);
    var_dump($client->getStores());
} catch (\Throwable $e) {
    echo "Error: " . $e->getMessage();
}