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

ActiveLibrary[API Development](/categories/api)

baqirfarooq/laravel-teamwork
============================

PHP wrapper for the Teamwork project management API

137PHP

Since Feb 19Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)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)

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`.

```
"baqirfarooq/teamwork": "~1.0"

```

You can also simply add it like this

```
composer require "baqirfarooq/teamwork:~1.0"

```

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' => [
    ...
    'Baqirfarooq\Teamwork\TeamworkServiceProvider',
],
```

and then add the facade to your `aliases` array

```
'aliases' => [
    ...
    'Teamwork' => 'Baqirfarooq\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 `Baqirfarooq\Teamwork\Factory`. Here is an example of how to use it with dependency injection

```
Route::get('/test', function(Baqirfarooq\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 Baqirfarooq\Teamwork\Client;
use Baqirfarooq\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://baqirfarooq.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" => "12345"
]);

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

Roadmap
-------

[](#roadmap)

#### 1.0 Release

[](#10-release)

- Add Support For `Comments`
- Add Support For `Permissions`
- Add Support For `Time` Endpoint
- Add Support For `Categories`
- Add Support For `People Status`
- Add Support For `Files`
- Add Support For `Notebooks`

laravel-teamwork
================

[](#laravel-teamwork)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8627545?v=4)[Baqir Farooq](/maintainers/baqirfarooq)[@baqirfarooq](https://github.com/baqirfarooq)

---

Top Contributors

[![baqirfarooq](https://avatars.githubusercontent.com/u/8627545?v=4)](https://github.com/baqirfarooq "baqirfarooq (11 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24015.5M18](/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

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

PHPackages © 2026

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