You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20-20
Original file line number
Diff line number
Diff line change
@@ -4,72 +4,72 @@ All notable changes to `laravel-verification-code` will be documented in this fi
4
4
5
5
## 2.1.1 - 2024-03-15
6
6
7
-
- Added: Laravel 11 support ([#36](https://github.com/nextapps-be/laravel-verification-code/pull/36))
7
+
- Added: Laravel 11 support ([#36](https://github.com/wotzebra/laravel-verification-code/pull/36))
8
8
9
9
## 2.1.0 - 2023-12-15
10
10
11
-
- Added: PHP 8.3 support ([#34](https://github.com/nextapps-be/laravel-verification-code/pull/34))
11
+
- Added: PHP 8.3 support ([#34](https://github.com/wotzebra/laravel-verification-code/pull/34))
12
12
13
13
## 2.0.0 - 2023-08-25
14
-
- Verification code Model can be customized ([#33](https://github.com/nextapps-be/laravel-verification-code/pull/33))
15
-
- Expire hours changed to Expire seconds ([#32](https://github.com/nextapps-be/laravel-verification-code/pull/32))
16
-
- Add unicode support ([#30](https://github.com/nextapps-be/laravel-verification-code/pull/30))
17
-
- Drop support for PHP 7.x and Drop support for Laravel 7, Laravel 8 and Laravel 9 ([#31](https://github.com/nextapps-be/laravel-verification-code/pull/31))
14
+
- Verification code Model can be customized ([#33](https://github.com/wotzebra/laravel-verification-code/pull/33))
15
+
- Expire hours changed to Expire seconds ([#32](https://github.com/wotzebra/laravel-verification-code/pull/32))
16
+
- Add unicode support ([#30](https://github.com/wotzebra/laravel-verification-code/pull/30))
17
+
- Drop support for PHP 7.x and Drop support for Laravel 7, Laravel 8 and Laravel 9 ([#31](https://github.com/wotzebra/laravel-verification-code/pull/31))
18
18
19
19
## 1.3.0 - 2023-02-19
20
20
21
-
- Add PHP 8.2 support ([#27](https://github.com/nextapps-be/laravel-verification-code/pull/27))
22
-
- Add Laravel 10 support ([#26](https://github.com/nextapps-be/laravel-verification-code/pull/26))
21
+
- Add PHP 8.2 support ([#27](https://github.com/wotzebra/laravel-verification-code/pull/27))
22
+
- Add Laravel 10 support ([#26](https://github.com/wotzebra/laravel-verification-code/pull/26))
23
23
24
24
## 1.2.3 - 2022-05-18
25
25
26
-
- Changed: Do not purge codes that have not expired yet ([#24](https://github.com/nextapps-be/laravel-verification-code/pull/24))
26
+
- Changed: Do not purge codes that have not expired yet ([#24](https://github.com/wotzebra/laravel-verification-code/pull/24))
27
27
28
28
## 1.2.2 - 2022-05-06
29
29
30
-
- Added: parameter to verify method to prevent deleting of the code after verification ([#23](https://github.com/nextapps-be/laravel-verification-code/pull/23))
31
-
- Added: command to prune old codes from the database ([#23](https://github.com/nextapps-be/laravel-verification-code/pull/23))
30
+
- Added: parameter to verify method to prevent deleting of the code after verification ([#23](https://github.com/wotzebra/laravel-verification-code/pull/23))
31
+
- Added: command to prune old codes from the database ([#23](https://github.com/wotzebra/laravel-verification-code/pull/23))
32
32
33
33
## 1.2.1 - 2022-03-01
34
34
35
35
- Fix composer.json file to ensure package can still be used in Laravel 7/8
36
36
37
37
## 1.2.0 - 2022-03-01
38
38
39
-
- Add PHP 8.1 and Laravel 9 support ([#20](https://github.com/nextapps-be/laravel-verification-code/pull/20))
39
+
- Add PHP 8.1 and Laravel 9 support ([#20](https://github.com/wotzebra/laravel-verification-code/pull/20))
40
40
41
41
## 1.1.0 - 2021-02-15
42
42
43
-
- Add PHP 8.0 support ([#17](https://github.com/nextapps-be/laravel-verification-code/pull/17))
43
+
- Add PHP 8.0 support ([#17](https://github.com/wotzebra/laravel-verification-code/pull/17))
44
44
45
45
## 1.0.0 - 2021-01-15
46
46
47
47
- No changes
48
48
49
49
## 0.3.4 - 2020-12-16
50
50
51
-
- Verifying test verifiables is now case insensitive ([#13](https://github.com/nextapps-be/laravel-verification-code/pull/13))
51
+
- Verifying test verifiables is now case insensitive ([#13](https://github.com/wotzebra/laravel-verification-code/pull/13))
52
52
53
53
## 0.3.3 - 2020-10-23
54
54
55
-
- Verify against all codes of verifiable (instead of only first code) ([#12](https://github.com/nextapps-be/laravel-verification-code/pull/12))
55
+
- Verify against all codes of verifiable (instead of only first code) ([#12](https://github.com/wotzebra/laravel-verification-code/pull/12))
56
56
57
57
## 0.3.2 - 2020-10-22
58
58
59
-
- Fix deletion of old verification codes (again) ([#11](https://github.com/nextapps-be/laravel-verification-code/pull/11))
59
+
- Fix deletion of old verification codes (again) ([#11](https://github.com/wotzebra/laravel-verification-code/pull/11))
60
60
61
61
## 0.3.1 - 2020-10-20
62
62
63
-
- Fix deletion of old verification codes ([#10](https://github.com/nextapps-be/laravel-verification-code/pull/10))
63
+
- Fix deletion of old verification codes ([#10](https://github.com/wotzebra/laravel-verification-code/pull/10))
64
64
65
65
## 0.3.0 - 2020-10-20
66
66
67
-
- Add config option to define max amount of active verification codes per verifiable ([#9](https://github.com/nextapps-be/laravel-verification-code/pull/9))
68
-
- Big code refactor with improvements to config-file setup ([#7](https://github.com/nextapps-be/laravel-verification-code/pull/7))
67
+
- Add config option to define max amount of active verification codes per verifiable ([#9](https://github.com/wotzebra/laravel-verification-code/pull/9))
68
+
- Big code refactor with improvements to config-file setup ([#7](https://github.com/wotzebra/laravel-verification-code/pull/7))
69
69
70
70
## 0.2.0 - 2020-09-01
71
71
72
-
- Add config option to allow customization of the notification class. ([#4](https://github.com/nextapps-be/laravel-verification-code/pull/4))
72
+
- Add config option to allow customization of the notification class. ([#4](https://github.com/wotzebra/laravel-verification-code/pull/4))
Copy file name to clipboardExpand all lines: README.md
+9-11
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
# Laravel verification code
1
+
# Laravel Verification Code
2
2
3
-
[](https://packagist.org/packages/nextapps/laravel-verification-code)
[](https://packagist.org/packages/wotz/laravel-verification-code)
This will generate a verification code for the user. The code will be stored in the `verification_codes` table. An email with the generated code will then be sent to the user matching the given email address.
42
42
43
43
### Verify a verification code
44
44
```php
45
-
use NextApps\VerificationCode\VerificationCode;
45
+
use Wotz\VerificationCode\VerificationCode;
46
46
47
47
VerificationCode::verify($code, $email);
48
48
```
@@ -51,7 +51,7 @@ If the verification code is expired or does not match the user's email address,
51
51
If you do not want the code to be deleted (in case the same code needs to be verified at different points in the login flow) you can pass a third parameter.
0 commit comments