PHPackages                             flim/phpflow - 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. flim/phpflow

ActiveLibrary[API Development](/categories/api)

flim/phpflow
============

PHP Library for Flowdock API usage

1.0.1(12y ago)422.3k1[2 issues](https://github.com/flim/PHPFlow/issues)MITPHPPHP &gt;=5.3.0

Since Aug 20Pushed 11y ago1 watchersCompare

[ Source](https://github.com/flim/PHPFlow)[ Packagist](https://packagist.org/packages/flim/phpflow)[ Docs](http://github.com/flim/phpflow)[ RSS](/packages/flim-phpflow/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

PHPFlow
=======

[](#phpflow)

PHP Library for Flowdock API use

Installation
============

[](#installation)

Install composer in the project

```
curl -sS https://getcomposer.org/installer | php
php composer.phar install
```

Then insert composer autoload requirement line in your project

```
require_once __DIR__ . '/vendor/autoload.php';
```

Usage
=====

[](#usage)

Push message
------------

[](#push-message)

### Write message to CHAT

[](#write-message-to-chat)

```
PHPFlow::pushToChat("flow_token", "Hello world!", "PHPFlow");
```

### Write message to TEAM INBOX

[](#write-message-to-team-inbox)

```
PHPFlow::pushToTeamInbox("flow_token", "the_source", "email", "the_subject", "the_content", array("tags" => "#important, hardwork, @everyone"));
```

Users
-----

[](#users)

### Get all users

[](#get-all-users)

```
$results = PHPFlow::getUsers("user_api_token");
if (false !== $results) {
    print_r(json_decode($results));
}
```

### Get flow users

[](#get-flow-users)

```
$results = PHPFlow::getFlowUsers("user_api_token", "company", "flow");
if (false !== $results) {
    print_r(json_decode($results));
}
```

### Get a user

[](#get-a-user)

```
$results = PHPFlow::getUser("user_api_token", "user_id");
if (false !== $results) {
    print_r(json_decode($results));
}
```

Flows
=====

[](#flows)

### Get all flows

[](#get-all-flows)

```
$results = PHPFlow::getAllFlows("user_api_token");
if (false !== $results) {
    print_r(json_decode($results));
}
```

Streaming
---------

[](#streaming)

### Stream message from a flow

[](#stream-message-from-a-flow)

```
PHPFlow::streamFlow("user_api_token", "company", "flow", 'callback');

// Must return strlen($data)
function callback($ch, $data)
{
    print_r($data);
    return strlen($data);
}
```

### Stream message from flows

[](#stream-message-from-flows)

```
PHPFlow::streamFlows("user_api_token", array("company/flow", "company/flow2"), 'callback');

// Must return strlen($data)
function callback($ch, $data)
{
    print_r($data);
    return strlen($data);
}
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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 ~396 days

Total

2

Last Release

4254d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14660279599450b83a64927ded0ce2b9a4e71d0ee4afe6e471cef61cc3c835cd?d=identicon)[flim](/maintainers/flim)

---

Top Contributors

[![flim](https://avatars.githubusercontent.com/u/811184?v=4)](https://github.com/flim "flim (17 commits)")[![duellsy](https://avatars.githubusercontent.com/u/330539?v=4)](https://github.com/duellsy "duellsy (1 commits)")

---

Tags

phpapiflowdock

### Embed Badge

![Health badge](/badges/flim-phpflow/health.svg)

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

###  Alternatives

[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

13998.4k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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