PHPackages                             jamiebuckell/teamworkpm - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. jamiebuckell/teamworkpm

ActiveLibrary[API Development](/categories/api)

jamiebuckell/teamworkpm
=======================

PHP wrapper for TeamWorkPm api.

v1.0.6(11y ago)014[1 PRs](https://github.com/JamieBuckell/TeamWorkPmPhpApi/pulls)MITPHPPHP &gt;=5.4

Since Mar 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/JamieBuckell/TeamWorkPmPhpApi)[ Packagist](https://packagist.org/packages/jamiebuckell/teamworkpm)[ RSS](/packages/jamiebuckell-teamworkpm/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (12)Used By (0)

TeamWorkPm PHP Api
==================

[](#teamworkpm-php-api)

Using Api
---------

[](#using-api)

This is very easy use the method: save, insert, update, delete

```
// START configurtion
const API_KEY = 'horse48street';
const API_URL = 'http://yourcustomdomain.com'; // only required if you have a custom domain

try {
    // set your keys
    // if you do not have a custom domain:
    TeamWorkPm\Auth::set(API_KEY);
    // if you do have a custom domain:
    // TeamWorkPm\Auth::set(API_URL, API_KEY);

    // create an project
    $project = TeamWorkPm\Factory::build('project');
    $project_id = $project->save(array(
        'name'=> 'This is an test project',
        'description'=> 'Bla, Bla, Bla'
    ));
    // create one people and add to project
    $people = TeamWorkPm\Factory::build('people');
    $person_id = $people->save(array(
        'first_name'  => "Test",
        'last_name'   => 'User',
        'user_name'     => 'test',
        'email_address' => 'email@hotmail.com',
        'password'      => 'foo123',
        'project_id'    => $project_id
    ));
    // create on milestone
    $milestone = TeamWorkPm\Factory::build('milestone');
    $milestone_id = $milestone->save(array(
        'project_id'            => $project_id,
        'responsible_party_ids' => $person_id,
        'title'                 => 'Test milestone',
        'description'           => 'Bla, Bla, Bla',
        'deadline'              => date('Ymd', strtotime('+10 day'))
    ));
    // create one task list
    $taskList = TeamWorkPm\Factory::build('task.list');
    $task_list_id = $taskList->save(array(
        'project_id'  => $project_id,
        'milestone_id' => $milestone_id,
        'name'        => 'My first task list',
        'description' => 'Bla, Bla'
    ));
    // create one task
    $task = TeamWorkPm\Factory::build('task');
    $task_id = $task->save(array(
        'task_list_id' => $task_list_id,
        'content'      => 'Test Task',
        'notify'       => false,
        'description'  => 'Bla, Bla, Bla',
        'due_date'     => date('Ymd', strtotime('+10 days')),
        'start_date'   => date('Ymd'),
        'private'      => false,
        'priority'     => 'high',
        'estimated_minutes' => 1000,
        'responsible_party_id' => $person_id,
    ));
    // add time to task
    $time = TeamWorkPm\Factory::build('time');
    $time_id = $time->save(array(
        'task_id'     => $task_id,
        'person_id'   => $person_id, // this is a required field
        'description' => 'Test Time',
        'date'  => date('Ymd'),
        'hours'     => 5,
        'minutes' => 30,
        'time' => '08:30',
        'isbillable' => false
    ));

    echo 'Project Id: ', $project_id, "\n";
    echo 'Person Id: ', $person_id, "\n";
    echo 'Milestone Id: ', $milestone_id, "\n";
    echo 'Task List Id: ', $task_list_id, "\n";
    echo 'Task Id: ', $task_id, "\n";
    echo 'Time id: ', $time_id, "\n";

} catch (Exception $e) {
    print_r($e);
}

```

View the tests folder for more details

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 92.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~87 days

Total

5

Last Release

4096d ago

PHP version history (2 changes)v1.0.2PHP &gt;=5.3

v1.0.3PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/b9ad1149dd2cb6324171be478b2daa5215dd8c0aa63c54b1d14b5d176c5e60ac?d=identicon)[JamieBuckell](/maintainers/JamieBuckell)

---

Top Contributors

[![loduis](https://avatars.githubusercontent.com/u/451862?v=4)](https://github.com/loduis "loduis (50 commits)")[![JamieBuckell](https://avatars.githubusercontent.com/u/5079302?v=4)](https://github.com/JamieBuckell "JamieBuckell (2 commits)")[![crgeary](https://avatars.githubusercontent.com/u/3949335?v=4)](https://github.com/crgeary "crgeary (1 commits)")[![thorne51](https://avatars.githubusercontent.com/u/3481569?v=4)](https://github.com/thorne51 "thorne51 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jamiebuckell-teamworkpm/health.svg)

```
[![Health](https://phpackages.com/badges/jamiebuckell-teamworkpm/health.svg)](https://phpackages.com/packages/jamiebuckell-teamworkpm)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
