diff --git a/README.md b/README.md index 9875f98..c3a1b1c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # OAuth wrapper for Laravel 5 -oauth-5-laravel is a simple laravel 5 service provider (wrapper) for [Lusitanian/PHPoAuthLib](https://github.com/Lusitanian/PHPoAuthLib) -which provides oAuth support in PHP 5.4+ and is very easy to integrate with any project which requires an oAuth client. +oauth-5-laravel is a simple laravel 5 service provider (wrapper) for [carlos-mg89/PHPoAuthLib](https://github.com/carlos-mg89/PHPoAuthLib) +which provides oAuth support in PHP 5.4+ also 8.1 and is very easy to integrate with any project which requires an oAuth client. Was first developed by [Artdarek](https://github.com/artdarek/oauth-4-laravel) for Laravel 4 and I ported it to Laravel 5. @@ -56,16 +56,25 @@ Included service implementations: - Yammer - more to come! -To learn more about Lusitanian/PHPoAuthLib go [here](https://github.com/Lusitanian/PHPoAuthLib) +To learn more about Lusitanian/PHPoAuthLib go [here](https://github.com/Lusitanian/PHPoAuthLib), forked repo (https://github.com/carlos-mg89/PHPoAuthLib) contains php 8.1 support ## Installation Add oauth-5-laravel to your composer.json file: ``` +In require "require": { - "oriceon/oauth-5-laravel": "dev-master" + "ani37/oauth-5-laravel": "2.0" } + +In repositories, +"repositories": [ +{ + "type": "vcs", + "no-api": true, + "url": "git@github.com:ani37/oauth-5-laravel.git" +}] ``` Use composer to install this package. diff --git a/composer.json b/composer.json index ac178b5..daa5ae7 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,9 @@ { - "name": "oriceon/oauth-5-laravel", + "name": "ani37/oauth-5-laravel", "type": "library", "description": "OAuth Service Provider for Laravel 5", - "keywords": ["OAuth", "Lusitanian", "laravel", "php"], - "homepage": "https://github.com/oriceon/oauth-5-laravel", + "keywords": ["OAuth", "carlos-mg89", "laravel", "php"], + "homepage": "https://github.com/ani37/oauth-5-laravel", "license": "MIT", "authors": [ { @@ -18,11 +18,11 @@ } ], "require": { - "php": ">=5.4", - "lusitanian/oauth": "*" + "php": ">=7.2", + "carlos-mg89/oauth": "^0.8" }, "require-dev": { - "illuminate/support": "~5" + "illuminate/support": "^5.1|^6.0|^7.0|^8.0|^9.0" }, "require-all": true, "extra": {