Skip to content

Commit

Permalink
feat: laravel 7 support (#292)
Browse files Browse the repository at this point in the history
* feat: laravel 7 support
  • Loading branch information
atymic authored Mar 3, 2020
1 parent 451dde9 commit 176a233
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Total Downloads](https://img.shields.io/packagist/dt/thujohn/twitter.svg?style=flat-square)](https://packagist.org/packages/thujohn/twitter)
![GitHub Release Date](https://img.shields.io/github/release-date/atymic/twitter?label=latest%20release&style=flat-square)

Twitter API for Laravel 5.5+ & 6.x
Twitter API for Laravel 5.5+, 6.x and 7.x

You need to create an application and create your access token in the [Application Management](https://apps.twitter.com/).

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
}
],
"require": {
"php": ">7.0",
"illuminate/support": "~5.5 || ~6.0",
"php": ">7.2.5",
"illuminate/support": "~5.5 || ~6.0 || ~7.0",
"themattharris/tmhoauth": "0.8.4"
},
"require-dev": {
Expand Down
28 changes: 14 additions & 14 deletions src/Thujohn/Twitter/Twitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@

class Twitter extends tmhOAuth
{
use AccountActivityTrait,
AccountTrait,
BlockTrait,
DirectMessageTrait,
FavoriteTrait,
FriendshipTrait,
GeoTrait,
HelpTrait,
ListTrait,
MediaTrait,
SearchTrait,
StatusTrait,
TrendTrait,
UserTrait;
use AccountActivityTrait;
use AccountTrait;
use BlockTrait;
use DirectMessageTrait;
use FavoriteTrait;
use FriendshipTrait;
use GeoTrait;
use HelpTrait;
use ListTrait;
use MediaTrait;
use SearchTrait;
use StatusTrait;
use TrendTrait;
use UserTrait;

/**
* Store the config values.
Expand Down

0 comments on commit 176a233

Please sign in to comment.