PHPackages                             blimp/client - 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. blimp/client

ActiveLibrary[API Development](/categories/api)

blimp/client
============

PHP client library for interacting with the Blimp API (www.getblimp.com).

593[1 issues](https://github.com/GetBlimp/blimp-php/issues)PHP

Since Feb 2Pushed 13y ago2 watchersCompare

[ Source](https://github.com/GetBlimp/blimp-php)[ Packagist](https://packagist.org/packages/blimp/client)[ RSS](/packages/blimp-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

blimp-php
=========

[](#blimp-php)

[![Build Status](https://camo.githubusercontent.com/571bbfe07b7038d9708610e7b83c65eda8c4425cd6e0fedddc3506344a7d7ef9/68747470733a2f2f7472617669732d63692e6f72672f476574426c696d702f626c696d702d7068702e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/GetBlimp/blimp-php)

This library allows you to interact with the Blimp API using PHP. You can find more information about Blimp's Public API documentation at . If you have any problems or requests please contact \[support\](?subject=Blimp API PHP library).

License
-------

[](#license)

Licensed under the MIT License.

Install
-------

[](#install)

Using Github:

```
git clone git@github.com:getblimp/blimp-php

```

Using [Composer](http://getcomposer.org/):

```
{
	"require": {
		"blimp/client": "dev-master"
	}
}

```

Then run:

```
composer install

```

Pre-Usage
---------

[](#pre-usage)

Before we begin using the library you need to signup to [Blimp](http://app.getblimp.com/) and generate a new API Key if you don't have one in your [settings](https://app.getblimp.com/user/settings/api/) as well as an Application ID and Secret in your [applications](https://app.getblimp.com/user/settings/api/developers/).

Usage
-----

[](#usage)

```
# load the client using Composer's autoloader
require_once 'vendor/autoload.php';

$client = new Blimp\Client($username, $api_key, $app_id, $app_secret);

# or load the client without an autoloader
require_once 'src/BlimpClient.php';

$client = new BlimpClient($username, $api_key, $app_id, $app_secret);

# get all companies that I'm part of
$companies = $client->get('company');

# get one company by id
$companies = $client->get('company', 1);

# get all projects for one company
$projects = $client->get('project', null, array('company' => 1));

# get count of total projects
$total_projects = $projects->meta->total_count;

# Loop through all projects and print their name
foreach($projects->objects as $project) {
    echo $project->name;
}

# Get all goals for a project
$goals = $client.get('goal', null, array('project' => 1));

# Get all tasks for a goal
$tasks = $client.get('task', null, array('goal' => 1));

# Get all comments for a task
$comments = $client.get('comment', null, array('content_type' => 'todo', 'object_pk': 1));

# Get schema for all available endpoints
print_r($client->schema('company'));
print_r($client->schema('project'));
print_r($client->schema('goal'));
print_r($client->schema('task'));
print_r($client->schema('comment'));
print_r($client->schema('file'));
print_r($client->schema('user'));

# All available methods per endpoint
# $client.get($resource_name);
# $client.get($resource_name, $id);
# $client.create($resource_name, $data);
# $client.update($resource_name, $id, $data);
# $client.delete($resource_name, $id);
# $client.schema($resource_name);
```

### Example response of all companies I'm part of

[](#example-response-of-all-companies-im-part-of)

```
{
    "meta": {
        "limit": 20,
        "next": null,
        "offset": 0,
        "previous": null,
        "total_count": 1
    },
    "objects": [
        {
            "company_users": [
                {
                    "accepted_invitation": true,
                    "date_created": "2012-11-01T00:00:00",
                    "date_modified": "2012-11-27T02:22:09.817265",
                    "id": 38,
                    "is_active": true,
                    "role": "admin",
                    "user": "/api/v2/user/3/"
                },
                {
                    "accepted_invitation": true,
                    "date_created": "2012-11-01T00:00:00",
                    "date_modified": "2012-11-27T02:22:09.705959",
                    "id": 37,
                    "is_active": true,
                    "role": "admin",
                    "user": "/api/v2/user/2/"
                },
                {
                    "accepted_invitation": true,
                    "date_created": "2012-11-01T00:00:00",
                    "date_modified": "2012-11-27T02:22:09.380851",
                    "id": 39,
                    "is_active": true,
                    "role": "owner",
                    "user": "/api/v2/user/1/"
                }
            ],
            "date_created": "2012-11-01T00:00:00",
            "date_modified": "2012-12-21T21:57:09.965247",
            "id": 1,
            "image_url": "",
            "name": "Blimp",
            "resource_uri": "/api/v2/company/1/",
            "slug": "blimp",
            "used_projects": 0,
            "used_storage": "4929882"
        }
    ]
}
```

Improvements
------------

[](#improvements)

What else would you like this library to do? Let me know. Feel free to send pull requests for any improvements you make.

### Todo

[](#todo)

- Tests

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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/83319?v=4)[José Padilla](/maintainers/jpadilla)[@jpadilla](https://github.com/jpadilla)

---

Top Contributors

[![jbroadway](https://avatars.githubusercontent.com/u/87886?v=4)](https://github.com/jbroadway "jbroadway (7 commits)")[![jpadilla](https://avatars.githubusercontent.com/u/83319?v=4)](https://github.com/jpadilla "jpadilla (3 commits)")

### Embed Badge

![Health badge](/badges/blimp-client/health.svg)

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

###  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)
