Skip to content

Commit e369244

Browse files
authored
Merge pull request #42 from beyondcode/updates
Laravel 11 Support
2 parents 63c79d6 + 339d1c5 commit e369244

File tree

7 files changed

+12
-69
lines changed

7 files changed

+12
-69
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ composer.lock
33
docs
44
vendor
55
coverage
6-
.idea
6+
.idea
7+
.phpunit.result.cache

.scrutinizer.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.styleci.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Laravel Email Confirmation
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/beyondcode/laravel-confirm-email.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-confirm-email)
4-
[![Build Status](https://img.shields.io/travis/beyondcode/laravel-confirm-email/master.svg?style=flat-square)](https://travis-ci.org/beyondcode/laravel-confirm-email)
5-
[![Quality Score](https://img.shields.io/scrutinizer/g/beyondcode/laravel-confirm-email.svg?style=flat-square)](https://scrutinizer-ci.com/g/beyondcode/laravel-confirm-email)
64
[![Total Downloads](https://img.shields.io/packagist/dt/beyondcode/laravel-confirm-email.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-confirm-email)
75

86

@@ -17,7 +15,7 @@ composer require beyondcode/laravel-confirm-email
1715
## Usage
1816

1917
This package adds a `confirmed_at` and `confirmation_code` field to your users table.
20-
Publish the migration and the configuration file using
18+
Publish the migration and the configuration file using
2119

2220
```bash
2321
php artisan vendor:publish --provider="BeyondCode\EmailConfirmation\EmailConfirmationServiceProvider"
@@ -50,7 +48,7 @@ Route::name('auth.confirm')->get('/register/confirm/{confirmation_code}', 'Auth\
5048

5149
### Show confirmation messages
5250

53-
This packages adds some flash messages that contain error/information messages for your users.
51+
This packages adds some flash messages that contain error/information messages for your users.
5452
To show them to your users, add this to your `login.blade.php`:
5553

5654
```blade
@@ -84,7 +82,7 @@ You can change all possible redirect routes by including these values either as
8482
They all default to `route('login')`.
8583

8684
### The Confirmed Event
87-
On successful email confirmation, this package dispatches a `Confirmed` event, in order for you to conveniently handle
85+
On successful email confirmation, this package dispatches a `Confirmed` event, in order for you to conveniently handle
8886
any custom logic, such as sending a welcome email or automatically logging the user in.
8987

9088
Simply add the `Confirmed` event, and your listeners, to the `EventServiceProvider` in your application:

composer.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
],
1818
"require": {
1919
"php": "^7.3|^8.0",
20-
"illuminate/auth": "^8.0|^9.0",
21-
"illuminate/database": "^8.0|^9.0",
22-
"illuminate/notifications": "^8.0|^9.0",
23-
"illuminate/support": "^8.0|^9.0",
24-
"laravel/ui": "^3.0"
20+
"illuminate/auth": "^8.0|^9.0|^10.0|^11.0",
21+
"illuminate/database": "^8.0|^9.0|^10.0|^11.0",
22+
"illuminate/notifications": "^8.0|^9.0|^10.0|^11.0",
23+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
24+
"laravel/ui": "^3.0|^4.0"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^9.0",
28-
"orchestra/testbench": "^6.0"
27+
"phpunit/phpunit": "^9.0|^10.5",
28+
"orchestra/testbench": "^6.0|^9.5"
2929
},
3030
"autoload": {
3131
"psr-4": {
@@ -40,7 +40,6 @@
4040
"scripts": {
4141
"test": "vendor/bin/phpunit",
4242
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
43-
4443
},
4544
"config": {
4645
"sort-packages": true

phpunit.xml.dist

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,4 @@
1414
<directory>tests</directory>
1515
</testsuite>
1616
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
22-
<logging>
23-
<log type="tap" target="build/report.tap"/>
24-
<log type="junit" target="build/report.junit.xml"/>
25-
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
26-
<log type="coverage-text" target="build/coverage.txt"/>
27-
<log type="coverage-clover" target="build/logs/clover.xml"/>
28-
</logging>
2917
</phpunit>

0 commit comments

Comments
 (0)