{"repo":"spatie/laravel-twitter-streaming-api","free":true,"listed":false,"github":"https://github.com/spatie/laravel-twitter-streaming-api","clone":"git clone https://github.com/spatie/laravel-twitter-streaming-api.git","description":"Easily work with the Twitter Streaming API in a Laravel app","language":"PHP","stars":204,"topics":["laravel","php","twitter","streaming","api","tweets"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Easily work with the Twitter Streaming API in a Laravel app Twitter provides a streaming API with which you can do interesting things such as listening for tweets that contain specific strings or actions a user might take (e.g. liking a tweet, following someone,...). This package makes it very easy to work with the API. Here's an example Laravel application with the package pre-installed. It contains an artisan command to kick off the listening process. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Installation You can install the package via composer: The config file must be published with this command: It will be published in config/laravel-twitter-streaming-api.php Getting credentials In order to use this package you'll need to get some credentials from Twitter. Head over to the Developer Portal on Twitter to create an application. Once you've created your application, click on the Keys and tokens tab to retrieve your bearer token , api key and api secret key . Usage Currently, this package works with the public stream and the user stream. Both the PublicStream and UserStream classes provide a startListening function that kicks of the listening process. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-twitter-streaming-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}