rocketphp / tweetnest
Search JSON tweet files by text and location - Elasticsearch.
dev-develop / 1.1.x-dev
2015-09-06 22:39 UTC
Requires
- php: >=5.5
- elasticsearch/elasticsearch: ~1.0
Requires (Dev)
- phpdocumentor/phpdocumentor: 2.*
- phpunit/phpunit: ~4.0
- satooshi/php-coveralls: dev-master
This package is not auto-updated.
Last update: 2026-03-18 17:32:32 UTC
README
RocketPHP\TweetNest uses Elasticsearch to search JSON tweet files by text and location.
To search tweets – start with an instance of TweetNest and search using arrays.
use RocketPHP\TweetNest\TweetNest; $nest = new TweetNest('127.0.0.1:9200', 'tweet_files'); $result = $nest->search( ['text' => 'Arnold', 'location' => 'USA'] ); var_dump($result);
- File issues at https://github.com/rocketphp/tweetnest/issues
- Documentation is at http://rocketphp.io/tweetnest