Skip to content

Commit 4b2c55b

Browse files
committed
Laravel 5.5 support
1 parent a215ed0 commit 4b2c55b

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## Introduction
1010

11-
The Laravel Email Verification package is built for Laravel 5.4 to easily handle a user verification and validate the e-mail. It is inspired by [crypto-based password resets](https://github.com/laravel/framework/pull/17499) and the [email verification package by jrean](https://github.com/jrean/laravel-user-verification).
11+
The Laravel Email Verification package is built for Laravel 5.4/5.5 to easily handle a user verification and validate the e-mail. It is inspired by [crypto-based password resets](https://github.com/laravel/framework/pull/17499) and the [email verification package by jrean](https://github.com/jrean/laravel-user-verification).
1212

1313
- [x] Crypto-based email verification. No need to store a temporary token in the database!
1414
- [x] Event based: No need to override your `register()` method.
@@ -26,7 +26,7 @@ To get started, use Composer to add the package to your project's dependencies:
2626
composer require josiasmontag/laravel-email-verification
2727

2828

29-
After installing the email verification package, register the `Lunaweb\EmailVerification\Providers\EmailVerificationServiceProvider` in your `config/app.php` configuration file:
29+
In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework just register the `Lunaweb\EmailVerification\Providers\EmailVerificationServiceProvider` in your `config/app.php` configuration file:
3030

3131
```php
3232
'providers' => [

composer.json

+12-5
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
],
1111
"require": {
1212
"php": ">=5.6.4",
13-
"illuminate/support": "~5.4",
14-
"illuminate/queue": "~5.4",
15-
"illuminate/auth": "~5.4",
13+
"illuminate/support": "~5.4|~5.5",
14+
"illuminate/queue": "~5.4|~5.5",
15+
"illuminate/auth": "~5.4|~5.5",
1616
"nesbot/carbon": "~1.20"
1717
},
1818
"require-dev": {
1919
"mockery/mockery": "~0.9",
20-
"phpunit/phpunit": "~4.0|~5.0"
20+
"phpunit/phpunit": "~4.0|~5.0|~6.0"
2121
},
2222
"autoload": {
2323
"psr-4": {
@@ -33,5 +33,12 @@
3333
"sort-packages": true
3434
},
3535
"prefer-stable": true,
36-
"minimum-stability": "dev"
36+
"minimum-stability": "dev",
37+
"extra": {
38+
"laravel": {
39+
"providers": [
40+
"Lunaweb\\EmailVerification\\Providers\\EmailVerificationServiceProvider"
41+
]
42+
}
43+
}
3744
}

0 commit comments

Comments
 (0)