2017 © Pedro Peláez
 

library tweetme

A simple Twitter feed package for Laravel 5.

image

justincdotme/tweetme

A simple Twitter feed package for Laravel 5.

  • Saturday, February 11, 2017
  • by justincdotme
  • Repository
  • 1 Watchers
  • 1 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 11 % Grown

The README.md

TweetMe

A simple Twitter feed package for Laravel and Lumen 5.*. TweetMe returns a collection of slimmed down Tweets from a user's Twitter message history., (*1)

Requirements

Laravel 5.*
Lumen 5.*

Lumen 5.* Installation

Install the package using Composer, (*2)

composer require justincdotme/tweetme

You can optionally enable Facades by uncommenting the following from bootstrap/app.php, (*3)

$app->withFacades();

Register the Service Provider by adding the following to bootstrap/app.php, (*4)

$app->register(Justincdotme\TweetMe\TweetServiceProvider::class);

Laravel 5.* Installation

composer require justincdotme/tweetme

php artisan vendor:publish
Add the TweetServiceProvider to the providers array in app/config.php
'providers' => [
    ...
    Justincdotme\TweetMe\TweetServiceProvider::class,
    ...
]
Add OAuth tokens and keys to .env
OAUTH_CONSUMER_KEY=""
OAUTH_ACCESS_TOKEN=""
OAUTH_CONSUMER_SECRET=""
OAUTH_ACCESS_TOKEN_SECRET=""

Usage

The TweetMe class exposes one method, getTweets(), which returns a collection.
Feel free to use the Facade or inject the TweetMeInterface.
Usage Examples: 

$tweetArray = TweetMe::getTweets()->toArray();

OR

$jsonResponse = TweetMe::getTweets()->toJson();

Todo

  • Implement the Guzzle HTTP lib
  • Replace OAuth with the Guzzle OAuth implementation

The Versions

11/02 2017

dev-master

9999999-dev

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter

11/02 2017

dev-development

dev-development

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter

11/02 2017

1.0.14

1.0.14.0

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter

11/02 2017

1.0.3.1

1.0.3.1

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter

11/02 2017

1.0.1.2

1.0.1.2

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter

11/02 2017

1.0.1.3

1.0.1.3

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter

11/02 2017

1.0.3

1.0.3.0

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter

16/01 2017

1.0.12

1.0.12.0

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter

16/01 2017

1.0.13

1.0.13.0

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter

16/01 2017

1.0.2

1.0.2.0

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter

16/01 2017

1.0.1

1.0.1.0

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter

16/01 2017

1.0.0

1.0.0.0

A simple Twitter feed package for Laravel 5.

  Sources   Download

The Requires

 

The Development Requires

by Justin Christenson

laravel feed simple twitter