Skip to content

Commit

Permalink
Upgrade to Manager 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DraperStudio committed Mar 30, 2016
1 parent ed77a48 commit bf3369b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"email": "hello@draperstud.io"
}],
"require": {
"php": ">=5.5.0",
"socialiteproviders/manager": "~1.0"
"php": "^5.6 || ^7.0",
"socialiteproviders/manager": "~2.0"
},
"autoload": {
"psr-4": {
Expand Down
9 changes: 7 additions & 2 deletions src/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@

namespace SocialiteProviders\YouTube;

use Laravel\Socialite\Two\AbstractProvider;
use Laravel\Socialite\Two\ProviderInterface;
use Laravel\Socialite\Two\User;
use SocialiteProviders\Manager\OAuth2\AbstractProvider;
use SocialiteProviders\Manager\OAuth2\User;

class Provider extends AbstractProvider implements ProviderInterface
{
/**
* Unique Provider Identifier.
*/
const IDENTIFIER = 'YOUTUBE';

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit bf3369b

Please sign in to comment.