PHPackages                             agykoala/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. agykoala/teamworkpm

ActiveLibrary[API Development](/categories/api)

agykoala/teamworkpm
===================

PHP wrapper for TeamWorkPm API.

1.2.6(7y ago)0198MITPHPPHP &gt;=5.4

Since Mar 16Pushed 7y ago1 watchersCompare

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

READMEChangelog (7)Dependencies (1)Versions (15)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([
		'name'=> 'This is a test project',
		'description'=> 'Bla, Bla, Bla'
	]);

	// create one people and add to project
	$people = \TeamWorkPm\Factory::build('people');
	$person_id = $people->save([
		'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([
		'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([
		'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([
		'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([
		'task_id' => $task_id,
		'person_id' => $person_id,
		'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

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 74.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 ~147 days

Recently: every ~43 days

Total

13

Last Release

2723d ago

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

v1.0.3PHP &gt;=5.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38682909?v=4)[AgyKoala](/maintainers/AgyKoala)[@AgyKoala](https://github.com/AgyKoala)

---

Top Contributors

[![loduis](https://avatars.githubusercontent.com/u/451862?v=4)](https://github.com/loduis "loduis (50 commits)")[![AgyKoala](https://avatars.githubusercontent.com/u/38682909?v=4)](https://github.com/AgyKoala "AgyKoala (9 commits)")[![simonschaufi](https://avatars.githubusercontent.com/u/941794?v=4)](https://github.com/simonschaufi "simonschaufi (4 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/agykoala-teamworkpm/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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