Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Php 8.1 support #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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": "[email protected]:ani37/oauth-5-laravel.git"
}]
```

Use composer to install this package.
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand All @@ -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": {
Expand Down