PHP code example of featvalue / php-sdk
1. Go to this page and download the library: Download featvalue/php-sdk 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/ */
featvalue / php-sdk example snippets
$api = new \FeatValue\Api(<YOUR_API_KEY>, <YOUR_TOKEN>);
$api = new \FeatValue\Api(<YOUR_API_KEY>, <YOUR_TOKEN>, "http://localhost/api");
$task = $api->get("/tasks/1");
$tasks = $api->tasks();
$tasks = $api->tasks(["status" => "OPEN"]);
composer