Twitter API Controller

Maintainers

Details

github.com/takielias/tp

Source

Issues

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:laravel

1.0.5 2018-08-02 13:56 UTC

This package is auto-updated.

Last update: 2024-04-29 04:08:56 UTC


README

Welcome to the tp wiki!

Twitter Official Api For Laravel 5.0+ or Upper version. Credit Goes to Twitter PHP

Installation

composer require takielias/tp

If you are using Laravel 5.4+, Laravel Package Auto-Discovery Feature is availabe. No need additional settings.

If you are using laravel 5.4 or Lower, Follow the steps below to make it Working.

Add providers in Config/App.php

takielias\tp\TpServiceProvider::class,

Add aliases in Config/App.php

'Tp' => takielias\tp\Facades\Tp::class,

Now you can use it as

You can get your Twitter App credential From Twitter Apps

$Twitter = new takielias\tp\Tp($consumerKey, $consumerSecret, $accessToken = null, $accessTokenSecret = null); $Twitter->send('Testing TP For laravel');

Twitter API Task Documentation Twitter PHP