timkley/awork-php-sdk

A PHP HTTP Client for the awork API

Installs: 2 752

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 3

Open Issues: 0

pkg:composer/timkley/awork-php-sdk

0.5 2025-11-05 10:03 UTC

This package is auto-updated.

Last update: 2025-11-05 10:03:57 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

This is a wrapper around the awork API.

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

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.