PHPackages                             arturf/basecamp-api - 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. arturf/basecamp-api

ActiveLibrary[API Development](/categories/api)

arturf/basecamp-api
===================

PHP wrapper for new Basecamp API

829.3k—5%8[1 PRs](https://github.com/arturf/basecamp-api/pulls)PHP

Since Sep 25Pushed 9y ago5 watchersCompare

[ Source](https://github.com/arturf/basecamp-api)[ Packagist](https://packagist.org/packages/arturf/basecamp-api)[ RSS](/packages/arturf-basecamp-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

A PHP Wrapper for use with the [new Basecamp API](https://github.com/basecamp/bcx-api).
=======================================================================================

[](#a-php-wrapper-for-use-with-the-new-basecamp-api)

Simple PHP library to communicate with Basecamp. Works only with new Basecamp.

This library use HTTP caching ETag according [this recommendation](https://github.com/basecamp/bcx-api#use-http-caching).

TODO: [Pagination](https://github.com/basecamp/bcx-api#pagination).

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

[](#installation)

Install Composer

```
$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer

```

Add the following to your require block in composer.json config.

```
"arturf/basecamp-api": "dev-master"

```

Include Composer's autoloader:

```
require_once dirname(__DIR__).'/vendor/autoload.php';
```

API Usage
---------

[](#api-usage)

Get client

```
$client = new \Basecamp\Client([
    'accountId' => '', // Basecamp account ID
    'appName' => '', // Application name (used as User-Agent header)

    // OAuth token
    'token' => '',
    // or
    'login' => '', // 37Signal's account login
    'password' => '', // 37Signal's account password
]);
```

List of all active projects

```
$projects = $client->projects()->active();
```

Create new project

```
$newProject = $client->projects()->create(
    [
        'name' => 'Name of project',
        'description' => 'Some description',
    ]
);
```

Update existing project

```
$updateProject = $client->projects()->update(
    $projectId,
    [
        'name' => 'New name of project',
        'description' => 'Some description',
    ]
);
```

Contributing
------------

[](#contributing)

Welcome :)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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://www.gravatar.com/avatar/3892dbe959744c000bdad73d62c4e6c150f8eb8efd5c35a24eb5ffdb38b3a2b5?d=identicon)[arturf](/maintainers/arturf)

---

Top Contributors

[![blamh](https://avatars.githubusercontent.com/u/114339?v=4)](https://github.com/blamh "blamh (1 commits)")[![gte451f](https://avatars.githubusercontent.com/u/2897569?v=4)](https://github.com/gte451f "gte451f (1 commits)")

### Embed Badge

![Health badge](/badges/arturf-basecamp-api/health.svg)

```
[![Health](https://phpackages.com/badges/arturf-basecamp-api/health.svg)](https://phpackages.com/packages/arturf-basecamp-api)
```

###  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)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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