Skip to content

PHP HTTP Client for the awork API

License

Notifications You must be signed in to change notification settings

timkley/awork-php-sdk

Repository files navigation

awork.com PHP SDK

Latest Version on Packagist GitHub Tests Action Status Total Downloads

This is a wrapper around the awork API. It is still a WIP and not all endpoints are implemented.

Installation

Requirements

PHP 8.2 and above

With composer

composer require timkley/awork-php-sdk

Usage

You need an API token to use the awork API.

<?php

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');

Testing

./vendor/bin/pest

Todo

  • Implement missing endpoints

Credits

I took a lot of inspiration from existing packages like mailgun/mailgun-php or lepikhinb/fathom-api.

Thanks for contributing to open source!

License

The MIT License (MIT). Please see License File for more information.

About

PHP HTTP Client for the awork API

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Languages