PHPackages                             socialh4ck/twitter - 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. socialh4ck/twitter

ActiveLibrary[API Development](/categories/api)

socialh4ck/twitter
==================

A simple Laravel 4 service provider for including the TwitterOAuth library.

1.0(11y ago)0195PHPPHP &gt;=5.4.0

Since Jul 13Pushed 11y ago1 watchersCompare

[ Source](https://github.com/socialh4ck/twitter)[ Packagist](https://packagist.org/packages/socialh4ck/twitter)[ RSS](/packages/socialh4ck-twitter/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

TwitterOAuth Service Provider for Laravel 4
===========================================

[](#twitteroauth-service-provider-for-laravel-4)

A simple Laravel 4 service provider for including the [TwitterOAuth](https://github.com/socialh4ck/twitteroauth) library.

### Installation

[](#installation)

The TwitterOAuth Service Provider can be installed via Composer by requiring the `"socialh4ck/twitter": "dev-master"` package in your project's composer.json.

```
{
    "require": {
        "laravel/framework": "4.2.*",
        "socialh4ck/twitter": "dev-master"
    },
    "minimum-stability": "dev"
}
```

Next you will need to publish the package config:

`php artisan config:publish socialh4ck/twitter`

You can setup your **CONSUMER\_KEY** and **CONSUMER\_SECRET** inside `app/config/packages/socialh4ck/twitter/config.php`.

```
