wobeto / twitter
Laravel 4 Service Provider to interact with twitter account, like return a collection of the most recent Tweets posted by the user, post Tweets, delete status and get user profile.
0.6.1
2014-09-16 19:36 UTC
Requires
- php: >=5.3.0
- illuminate/support: >=4.1
This package is auto-updated.
Last update: 2024-11-09 13:35:52 UTC
README
Laravel 4 Service Provider to interact with twitter account, like return a collection of the most recent Tweets posted by user, post Tweets, delete and get user profile.
Installation
Add wobeto/twitter to your composer.json file:
"require": {
"wobeto/twitter": "0.5.0"
}
Use composer to install this package.
$ composer update
Registering the Package
Register the service provider within the providers
array found in app/config/app.php
:
'providers' => array( // ... 'Wobeto\Twitter\TwitterServiceProvider' )
Add an alias within the aliases
array found in app/config/app.php
:
'aliases' => array( // ... 'Twitter' => 'Wobeto\Twitter\Facade\Twitter', )
Copy Config/twitter.php file to app/config/ and enter your data configurations