Download the PHP package mineur/twitter-stream-api-bundle without Composer
On this page you can find all versions of the php package mineur/twitter-stream-api-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mineur/twitter-stream-api-bundle
More information about mineur/twitter-stream-api-bundle
Files in mineur/twitter-stream-api-bundle
Package twitter-stream-api-bundle
Short Description A bundle integration of Mineur twitter stream api for Symfony
License MIT
Informations about the package twitter-stream-api-bundle
Twitter Stream API Symfony Bundle
A Symfony integration of Mineur Twitter Stream Library.
Installation
Basic initialization
Register this bundle into your application kernel.
Then add your authentication keys on your config file:
Simple custom command usage
Check out the library for full customization of the public stream: twitter-stream-api
Command line actions
Tu use the pre-configured commands:
-
To prompt the stream feed on your terminal:
- To enqueue the stream output as a serialized objects in a FIFO Redis queue,
type the following:
This part is subject to RSQueue library and RSQueueBundle. I recommend you to check the RSQueue documentation to consume the enqueued objects.
The Tweet output
Consuming the stream will give you an infinite loop of hydrated Tweet objects, similar to this one:
All versions of twitter-stream-api-bundle with dependencies
symfony/config Version ~2.3|~3.0
symfony/http-kernel Version ~2.3|~3.0
symfony/http-foundation Version ^3.0
symfony/dependency-injection Version ~2.3|~3.0
mineur/twitter-stream-api Version dev-master
rsqueue/rsqueue Version dev-master
rsqueue/rsqueue-bundle Version dev-master