Skip to content

Commit 72877ff

Browse files
committed
Merge branch 'v2'
2 parents d9f0991 + af360e7 commit 72877ff

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# CHANGELOG
22

3+
## 2.2.2
4+
- Added support till Laravel 7.8.x
5+
36
## 2.2.1
47
- README.md and CHANGELOG.md Updated.
58

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
| **Laravel** | **wordpress-auth-driver-laravel** |
66
|---|---|
7-
| 5.2 to 5.5 | ^1.0 |
8-
| 5.6 to 6.x | ^2.0 |
7+
| 5.2 to 5.5 | ^1.0 |
8+
| 5.6 to 7.8.x | ^2.0 |
99

1010
## Installation
1111

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

1616
The best way to install this package is with the help of composer. Run
@@ -86,6 +86,15 @@ For example:
8686
],
8787
```
8888

89+
Add following option along if using Laravel v7 (optional)
90+
```php
91+
// ...
92+
'url' => env('DATABASE_URL'),
93+
'options' => extension_loaded('pdo_mysql') ? array_filter([
94+
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
95+
]) : [],
96+
```
97+
8998
## Configuration
9099

91100
`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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"require": {
1515
"php": "^7.1",
1616
"hautelook/phpass": ">=0.3",
17-
"laravel/framework": ">=5.6 <7"
17+
"laravel/framework": ">=5.6 <7.9"
1818
},
1919
"autoload": {
2020
"psr-4": {

0 commit comments

Comments
 (0)