PHPackages                             nticaric/twitter-streaming-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. nticaric/twitter-streaming-api

ActiveLibrary[API Development](/categories/api)

nticaric/twitter-streaming-api
==============================

A PHP library for consuming Twitter’s Streaming API

v3.0(7y ago)26784[1 issues](https://github.com/nticaric/twitter-streaming-api/issues)MITPHPPHP &gt;=5.4.0

Since Jun 14Pushed 7y ago2 watchersCompare

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

READMEChangelog (6)Dependencies (5)Versions (8)Used By (0)

twitter-streaming-api
=====================

[](#twitter-streaming-api)

A PHP library for consuming Twitter’s Streaming API

\##Instalation

The easiest way to install Twitter Streaming API is via [composer](http://getcomposer.org/). Create the following `composer.json` file and run the `php composer.phar install` command to install it.

```
{
    "require": {
        "nticaric/twitter-streaming-api": "dev-master"
    }
}
```

\##Examples

### POST statuses/filter

[](#post-statusesfilter)

Returns public statuses that match one or more filter predicates

Usage:

```
	use Nticaric\Twitter\TwitterStream;

	$stream = new TwitterStream(array(
	    'consumer_key'    => 'my_consumer_key',
	    'consumer_secret' => 'my_consumer_secret',
	    'token'           => 'my_token',
	    'token_secret'    => 'my_token_secret'
	));

	$res = $stream->getStatuses(['track' => 'car'], function($tweet) {
		//prints to the screen statuses as they come along
		print_r($tweet);
	});
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~151 days

Recently: every ~226 days

Total

7

Last Release

2712d ago

Major Versions

v1.0 → v2.02016-06-14

v2.4 → v3.02018-12-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fc0f9546f5f7b8a91fa32ca0de9f2c590d00ec113c621783eeca82516bb006f?d=identicon)[nticaric](/maintainers/nticaric)

---

Top Contributors

[![nticaric](https://avatars.githubusercontent.com/u/824840?v=4)](https://github.com/nticaric "nticaric (41 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nticaric-twitter-streaming-api/health.svg)

```
[![Health](https://phpackages.com/badges/nticaric-twitter-streaming-api/health.svg)](https://phpackages.com/packages/nticaric-twitter-streaming-api)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[ashallendesign/laravel-exchange-rates

A wrapper package for interacting with the exchangeratesapi.io API.

485677.8k](/packages/ashallendesign-laravel-exchange-rates)[atymic/twitter

Twitter API for PHP &amp; Laravel

945555.4k2](/packages/atymic-twitter)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)

PHPackages © 2026

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