PHPackages                             disruptiveadvertising/teamwork - 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. disruptiveadvertising/teamwork

AbandonedLibrary[API Development](/categories/api)

disruptiveadvertising/teamwork
==============================

PHP wrapper for the Teamwork project management API

v1.3.1(3y ago)01.9k1[1 PRs](https://github.com/disruptiveadvertising/teamwork/pulls)MITPHP

Since Apr 3Pushed 3y agoCompare

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

READMEChangelog (10)Dependencies (3)Versions (39)Used By (0)

Laravel 5 Teamwork PM API Bridge
================================

[](#laravel-5-teamwork-pm-api-bridge)

[![teamwork-graphic](https://cloud.githubusercontent.com/assets/2628905/7765016/853f462c-001e-11e5-90ac-389bf1a6c2fe.jpg)](https://cloud.githubusercontent.com/assets/2628905/7765016/853f462c-001e-11e5-90ac-389bf1a6c2fe.jpg)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/8b10f992849c877478f28204eaf9925e9c51c11588fdb1e67aec5d8c6e5075a2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726f737365646d616e2f7465616d776f726b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d617374657226733d39393737363861356437303262353731646163376435306165346638356166373233366263663564)](https://scrutinizer-ci.com/g/rossedman/teamwork/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/6af93db8034a6f871df39f3dafc076ff3702af3b2c40d1afc1ab70a6b06f9725/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726f737365646d616e2f7465616d776f726b2f6261646765732f636f7665726167652e706e673f623d6d617374657226733d63303432373439373130663931386266323438303365626534663836343931623533353632666138)](https://scrutinizer-ci.com/g/rossedman/teamwork/?branch=master)[![Build Status](https://camo.githubusercontent.com/64668930070e314d89c7335cbf5e4541a69356db634b381fb11abbc728c60635/68747470733a2f2f7472617669732d63692e6f72672f726f737365646d616e2f7465616d776f726b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rossedman/teamwork)[![Release](https://camo.githubusercontent.com/d91057962da264ab5b0c86512d41576f92df0cefc0504c4c7da8e92ff7c56972/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f726f737365646d616e2f7465616d776f726b2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/d91057962da264ab5b0c86512d41576f92df0cefc0504c4c7da8e92ff7c56972/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f726f737365646d616e2f7465616d776f726b2e7376673f7374796c653d666c6174)[![License](https://camo.githubusercontent.com/2545a37c85a0a11a8761862f7862ba85b9e6045f2e9c9e0db06370d762fbe859/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f726f737365646d616e2f7465616d776f726b2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/2545a37c85a0a11a8761862f7862ba85b9e6045f2e9c9e0db06370d762fbe859/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f726f737365646d616e2f7465616d776f726b2e7376673f7374796c653d666c6174)

This is a simple PHP Client that can connect to the [Teamwork](http://www.teamwork.com) API. This package was developed to be used with [Laravel 5](http://www.laravel.com) but can also be used stand alone as well. I hope this helps you automate and extend Teamwork to integrate even more into your business! Have fun and good luck. 🤘

Installation
------------

[](#installation)

Just add this to your `composer.json` and then run `composer update`.

```
"disruptiveadvertising/teamwork": "^1.2"

```

You can also simply add it like this

```
composer require "disruptiveadvertising/teamwork": "^1.2"

```

Laravel Setup
-------------

[](#laravel-setup)

This wrapper comes with support for `Laravel 5`. This includes a service provider as well as a facade for easy access. Once this package is pulled into your project just add this to your `config/app.php` file.

```
'providers' => [
    ...
    'Rossedman\Teamwork\TeamworkServiceProvider',
],
```

and then add the facade to your `aliases` array

```
'aliases' => [
    ...
    'Teamwork' => 'Rossedman\Teamwork\Facades\Teamwork',
],
```

### Configuration

[](#configuration)

If you are using Laravel then add a `teamwork` array to your `config/services.php` file

```
...
'teamwork' => [
    'key'  => 'YourSecretKey',
    'url'  => 'YourTeamworkUrl'
],
```

### Use

[](#use)

If you are using the Facade with Laravel youc an easily access Teamwork like this

```
Teamwork::people()->all();
```

If you want to use dependency injection to make your application easy to test the Service Provider binds `Rossedman\Teamwork\Factory`. Here is an example of how to use it with dependency injection

```
Route::get('/test', function(Rossedman\Teamwork\Factory $teamwork) {
   $activity = $teamwork->activity()->latest();
});
```

Configuration Without Laravel
-----------------------------

[](#configuration-without-laravel)

If you are not using Laravel you can instantiate the class like this

```
require "vendor/autoload.php";

use GuzzleHttp\Client as Guzzle;
use Rossedman\Teamwork\Client;
use Rossedman\Teamwork\Factory as Teamwork;

$client     = new Client(new Guzzle, 'YourSecretKey', 'YourTeamworkUrl');
$teamwork   = new Teamwork($client);
```

You are ready to go now!

---

Examples
--------

[](#examples)

Not all of the Teamwork API is supported yet but there is still a lot you can do! Below are some examples of how you can access Projects, Companies, and more. To work with a specific Object pass in the ID to perform actions on it. Data can be passed through for creating and editing.

**To see more examples [visit the docs](http://rossedman.github.io/teamwork/)**

```
// create a project
$teamwork->project()->create([
    "name" => "My New Amazing Project",
    "description" => "This is a project that I will dedicate my whole life too",
    "companyId" => "999"
]);

// get the latest activity on a project
$teamwork->project($projectID)->activity();
```

Roadmap
-------

[](#roadmap)

#### 1.1 Release

[](#11-release)

- Add Support For `Comments`
- Add Support For `Permissions`
- Add Support For `Time` Endpoint

#### 1.2 Release

[](#12-release)

- Add Support For `Categories`
- Add Support For `People Status`
- Add Support For `Files`
- Add Support For `Notebooks`

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~81 days

Recently: every ~4 days

Total

37

Last Release

1098d ago

PHP version history (4 changes)v1.0.0PHP &gt;=5.4.0

v1.2.0-beta.1PHP &gt;=7.2.22

v1.2.0-beta.2PHP &gt;=7.2

v1.2.0-beta.3PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/815c51d12988b1a2b619a60c3d3cd09bf7806568c16455b2b6984074bedb336b?d=identicon)[disruptiveads](/maintainers/disruptiveads)

---

Top Contributors

[![rossedman](https://avatars.githubusercontent.com/u/2628905?v=4)](https://github.com/rossedman "rossedman (35 commits)")[![adamlytics](https://avatars.githubusercontent.com/u/3247979?v=4)](https://github.com/adamlytics "adamlytics (29 commits)")[![ashleyhindle](https://avatars.githubusercontent.com/u/454975?v=4)](https://github.com/ashleyhindle "ashleyhindle (4 commits)")[![bcash](https://avatars.githubusercontent.com/u/570976?v=4)](https://github.com/bcash "bcash (3 commits)")[![cmbirk](https://avatars.githubusercontent.com/u/764851?v=4)](https://github.com/cmbirk "cmbirk (2 commits)")[![slue](https://avatars.githubusercontent.com/u/5067774?v=4)](https://github.com/slue "slue (2 commits)")

---

Tags

apilaravelproject managementteamwork

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/disruptiveadvertising-teamwork/health.svg)

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[nickurt/laravel-postcodeapi

Universal PostcodeApi for Laravel 11.x/12.x/13.x

97221.2k](/packages/nickurt-laravel-postcodeapi)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)[bushlanov-dev/max-bot-api-client-php

Max Bot API Client library

281.6k](/packages/bushlanov-dev-max-bot-api-client-php)

PHPackages © 2026

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