PHP code example of timkley / awork-php-sdk
1. Go to this page and download the library: Download timkley/awork-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/ */
timkley / awork-php-sdk example snippets
use Awork\Awork;
$awork = new Awork('your-token');
// Get all users
$awork->users()->get();
// Get a specific project
$awork->projects()->getProject('your-product-uuid');
// Post a comment on a specific task
$awork->comments()->create('tasks', 'your-task-uuid', 'Your message');
bash
composer