This is the PHP SDK of FeatValue, a collaboration tool by a coding project GmbH.
Install using composer:
composer require featvalue/php-sdk
Create a new API instance using your API key and token:
$api = new \FeatValue\Api(<YOUR_API_KEY>, <YOUR_TOKEN>);
If you want to test locally, add a host as a third parameter:
$api = new \FeatValue\Api(<YOUR_API_KEY>, <YOUR_TOKEN>, "http://localhost/api");
Get a task:
$task = $api->get("/tasks/1");
Get all tasks:
$tasks = $api->tasks();
Filter tasks by status:
$tasks = $api->tasks(["status" => "OPEN"]);
You can access the complete API documentation here.