Skip to content

Commit

Permalink
Laravel v7.8 support added
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsankhatri committed Apr 27, 2020
1 parent 4af8c4e commit af360e7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## 2.2.2
- Added support till Laravel 7.8.x

## 2.2.1
- README.md and CHANGELOG.md Updated.

Expand Down
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

| **Laravel** | **wordpress-auth-driver-laravel** |
|---|---|
| 5.2 to 5.5 | ^1.0 |
| 5.6 to 6.x | ^2.0 |
| 5.2 to 5.5 | ^1.0 |
| 5.6 to 7.8.x | ^2.0 |

## Installation

To install this package you will need
- Laravel 5.6|5.7|5.8|6.x ([for older versions of laravel](https://github.com/ahsankhatri/wordpress-auth-driver-laravel/tree/v1))
- Laravel `>= 5.6 && <= 7.8.x` ([for older versions of laravel](https://github.com/ahsankhatri/wordpress-auth-driver-laravel/tree/v1))
- PHP 7.1

The best way to install this package is with the help of composer. Run
Expand Down Expand Up @@ -86,6 +86,15 @@ For example:
],
```

Add following option along if using Laravel v7 (optional)
```php
// ...
'url' => env('DATABASE_URL'),
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
```

## Configuration

`password_resets` table (from Laravel default auth mechanism) is required to hold reset password token. If you do not have `password_resets` table then use this migration instead
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"require": {
"php": "^7.1",
"hautelook/phpass": ">=0.3",
"laravel/framework": ">=5.6 <7"
"laravel/framework": ">=5.6 <7.9"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit af360e7

Please sign in to comment.