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

ActiveLibrary[API Development](/categories/api)

duellsy/phpflow
===============

PHP Library for Flowdock API usage

1.0.1(12y ago)116MITPHPPHP &gt;=5.3.0

Since Aug 20Pushed 11y agoCompare

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

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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

4650d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/37659155ef5a56509fda5ddba837c0b6a13cc21d09146551c2646d87779eb15e?d=identicon)[duellsy](/maintainers/duellsy)

---

Top Contributors

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

---

Tags

phpapiflowdock

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/duellsy-phpflow/health.svg)](https://phpackages.com/packages/duellsy-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)
