Skip to content

Commit 3b7f2e9

Browse files
committed
Replace 'next apps' with 'wotz'
1 parent 1398386 commit 3b7f2e9

20 files changed

+89
-100
lines changed

CHANGELOG.md

+20-20
Original file line numberDiff line numberDiff line change
@@ -4,72 +4,72 @@ All notable changes to `laravel-verification-code` will be documented in this fi
44

55
## 2.1.1 - 2024-03-15
66

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))
88

99
## 2.1.0 - 2023-12-15
1010

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))
1212

1313
## 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))
1818

1919
## 1.3.0 - 2023-02-19
2020

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))
2323

2424
## 1.2.3 - 2022-05-18
2525

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))
2727

2828
## 1.2.2 - 2022-05-06
2929

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))
3232

3333
## 1.2.1 - 2022-03-01
3434

3535
- Fix composer.json file to ensure package can still be used in Laravel 7/8
3636

3737
## 1.2.0 - 2022-03-01
3838

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))
4040

4141
## 1.1.0 - 2021-02-15
4242

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))
4444

4545
## 1.0.0 - 2021-01-15
4646

4747
- No changes
4848

4949
## 0.3.4 - 2020-12-16
5050

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))
5252

5353
## 0.3.3 - 2020-10-23
5454

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))
5656

5757
## 0.3.2 - 2020-10-22
5858

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))
6060

6161
## 0.3.1 - 2020-10-20
6262

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))
6464

6565
## 0.3.0 - 2020-10-20
6666

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))
6969

7070
## 0.2.0 - 2020-09-01
7171

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))
7373

7474
## 0.1.0 - 2020-02-20
7575

LICENSE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) Evert Arnould
3+
Copyright (c) Who Owns The Zebra
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

README.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Laravel verification code
1+
# Laravel Verification Code
22

3-
[![Latest Version on Packagist](https://img.shields.io/packagist/v/nextapps/laravel-verification-code.svg?style=flat-square)](https://packagist.org/packages/nextapps/laravel-verification-code)
4-
[![Total Downloads](https://img.shields.io/packagist/dt/nextapps/laravel-verification-code.svg?style=flat-square)](https://packagist.org/packages/nextapps/laravel-verification-code)
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/wotz/laravel-verification-code.svg?style=flat-square)](https://packagist.org/packages/wotz/laravel-verification-code)
4+
[![Total Downloads](https://img.shields.io/packagist/dt/wotz/laravel-verification-code.svg?style=flat-square)](https://packagist.org/packages/wotz/laravel-verification-code)
55

66
This package makes it possible to authenticate a user via a verification code.
77

@@ -10,14 +10,14 @@ This package makes it possible to authenticate a user via a verification code.
1010
You can install this package using composer:
1111

1212
```bash
13-
composer require nextapps/laravel-verification-code
13+
composer require wotz/laravel-verification-code
1414
```
1515

1616
The package will automatically register itself.
1717

1818
You can publish the migration with:
1919
```bash
20-
php artisan vendor:publish --provider="NextApps\VerificationCode\VerificationCodeServiceProvider" --tag="migrations"
20+
php artisan vendor:publish --provider="Wotz\VerificationCode\VerificationCodeServiceProvider" --tag="migrations"
2121
```
2222

2323
After publishing the migration, run the migration with:
@@ -27,22 +27,22 @@ php artisan migrate
2727

2828
You can publish the config file with:
2929
```bash
30-
php artisan vendor:publish --provider="NextApps\VerificationCode\VerificationCodeServiceProvider" --tag="config"
30+
php artisan vendor:publish --provider="Wotz\VerificationCode\VerificationCodeServiceProvider" --tag="config"
3131
```
3232

3333
## Usage
3434

3535
### Generate and send a verification code
3636
```php
37-
use NextApps\VerificationCode\VerificationCode;
37+
use Wotz\VerificationCode\VerificationCode;
3838

3939
VerificationCode::send($email);
4040
```
4141
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.
4242

4343
### Verify a verification code
4444
```php
45-
use NextApps\VerificationCode\VerificationCode;
45+
use Wotz\VerificationCode\VerificationCode;
4646

4747
VerificationCode::verify($code, $email);
4848
```
@@ -51,7 +51,7 @@ If the verification code is expired or does not match the user's email address,
5151
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.
5252

5353
```php
54-
use NextApps\VerificationCode\VerificationCode;
54+
use Wotz\VerificationCode\VerificationCode;
5555

5656
VerificationCode::verify($code, $email, $deleteAfterVerification);
5757
```
@@ -113,9 +113,7 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
113113

114114
## Credits
115115

116-
- [Evert Arnould](https://github.com/earnould)
117116
- [Günther Debrauwer](https://github.com/gdebrauwer)
118-
- [Philippe Damen](https://github.com/yinx)
119117
- [All Contributors](../../contributors)
120118

121119
## License

composer.json

+10-19
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,20 @@
11
{
2-
"name": "nextapps/laravel-verification-code",
2+
"name": "wotz/laravel-verification-code",
33
"description": "A simple way to authenticate a user using a verification code.",
44
"keywords": [
5-
"nextapps",
65
"laravel",
76
"authentication",
8-
"verification"
7+
"verification",
8+
"verification code",
9+
"one-time code"
910
],
10-
"homepage": "https://github.com/nextapps-be/laravel-verification-code",
11+
"homepage": "https://github.com/wotzebra/laravel-verification-code",
1112
"license": "MIT",
1213
"type": "library",
1314
"authors": [
14-
{
15-
"name": "Evert Arnould",
16-
"email": "[email protected]",
17-
"role": "Developer"
18-
},
1915
{
2016
"name": "Günther Debrauwer",
21-
"email": "[email protected]",
22-
"role": "Developer"
23-
},
24-
{
25-
"name": "Philippe Damen",
26-
"email": "[email protected]",
17+
"email": "[email protected]",
2718
"role": "Developer"
2819
}
2920
],
@@ -42,12 +33,12 @@
4233
},
4334
"autoload": {
4435
"psr-4": {
45-
"NextApps\\VerificationCode\\": "src"
36+
"Wotz\\VerificationCode\\": "src"
4637
}
4738
},
4839
"autoload-dev": {
4940
"psr-4": {
50-
"NextApps\\VerificationCode\\Tests\\": "tests"
41+
"Wotz\\VerificationCode\\Tests\\": "tests"
5142
}
5243
},
5344
"scripts": {
@@ -62,10 +53,10 @@
6253
"extra": {
6354
"laravel": {
6455
"providers": [
65-
"NextApps\\VerificationCode\\VerificationCodeServiceProvider"
56+
"Wotz\\VerificationCode\\VerificationCodeServiceProvider"
6657
],
6758
"aliases": {
68-
"VerificationCode": "NextApps\\VerificationCode\\VerificationCode"
59+
"VerificationCode": "Wotz\\VerificationCode\\VerificationCode"
6960
}
7061
}
7162
}

config/verification-code.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
| a verification code.
5757
|
5858
| It should implement the interface:
59-
| - \NextApps\VerificationCode\Notifications\VerificationCodeCreatedInterface
59+
| - \Wotz\VerificationCode\Notifications\VerificationCodeCreatedInterface
6060
|
6161
*/
62-
'notification' => NextApps\VerificationCode\Notifications\VerificationCodeCreated::class,
62+
'notification' => Wotz\VerificationCode\Notifications\VerificationCodeCreated::class,
6363

6464
/*
6565
|--------------------------------------------------------------------------
@@ -69,10 +69,10 @@
6969
| Here you can customize the VerificationCode class that will be used
7070
|
7171
| It should extend the package class:
72-
| - \NextApps\VerificationCode\Models\VerificationCode
72+
| - \Wotz\VerificationCode\Models\VerificationCode
7373
|
7474
*/
75-
'model' => NextApps\VerificationCode\Models\VerificationCode::class,
75+
'model' => Wotz\VerificationCode\Models\VerificationCode::class,
7676

7777
/*
7878
|--------------------------------------------------------------------------

src/Console/PruneCommand.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace NextApps\VerificationCode\Console;
3+
namespace Wotz\VerificationCode\Console;
44

55
use Illuminate\Console\Command;
6-
use NextApps\VerificationCode\VerificationCode;
6+
use Wotz\VerificationCode\VerificationCode;
77

88
class PruneCommand extends Command
99
{

src/Models/VerificationCode.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace NextApps\VerificationCode\Models;
3+
namespace Wotz\VerificationCode\Models;
44

55
use Illuminate\Database\Eloquent\Builder;
66
use Illuminate\Database\Eloquent\Model;
77
use Illuminate\Support\Facades\Hash;
8-
use NextApps\VerificationCode\Support\CodeGenerator;
8+
use Wotz\VerificationCode\Support\CodeGenerator;
99

1010
class VerificationCode extends Model
1111
{

src/Notifications/VerificationCodeCreated.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace NextApps\VerificationCode\Notifications;
3+
namespace Wotz\VerificationCode\Notifications;
44

55
use Illuminate\Bus\Queueable;
66
use Illuminate\Contracts\Queue\ShouldQueue;

src/Notifications/VerificationCodeCreatedInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace NextApps\VerificationCode\Notifications;
3+
namespace Wotz\VerificationCode\Notifications;
44

55
interface VerificationCodeCreatedInterface
66
{

src/Support/CodeGenerator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace NextApps\VerificationCode\Support;
3+
namespace Wotz\VerificationCode\Support;
44

55
use RuntimeException;
66

src/VerificationCode.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?php
22

3-
namespace NextApps\VerificationCode;
3+
namespace Wotz\VerificationCode;
44

55
use Illuminate\Support\Facades\Facade;
66

77
/**
8-
* @method static \NextApps\VerificationCode\VerificationCodeManager send(string $verifiable, string $channel = 'mail')
9-
* @method static \NextApps\VerificationCode\VerificationCodeManager verify(string $code, string $verifiable)
8+
* @method static \Wotz\VerificationCode\VerificationCodeManager send(string $verifiable, string $channel = 'mail')
9+
* @method static \Wotz\VerificationCode\VerificationCodeManager verify(string $code, string $verifiable)
1010
*
11-
* @see \NextApps\VerificationCode\VerificationCodeManager
11+
* @see \Wotz\VerificationCode\VerificationCodeManager
1212
*/
1313
class VerificationCode extends Facade
1414
{

src/VerificationCodeManager.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

3-
namespace NextApps\VerificationCode;
3+
namespace Wotz\VerificationCode;
44

55
use Illuminate\Contracts\Queue\ShouldQueue;
66
use Illuminate\Support\Facades\Hash;
77
use Illuminate\Support\Facades\Notification;
8-
use NextApps\VerificationCode\Models\VerificationCode;
9-
use NextApps\VerificationCode\Notifications\VerificationCodeCreated;
10-
use NextApps\VerificationCode\Notifications\VerificationCodeCreatedInterface;
8+
use Wotz\VerificationCode\Models\VerificationCode;
9+
use Wotz\VerificationCode\Notifications\VerificationCodeCreated;
10+
use Wotz\VerificationCode\Notifications\VerificationCodeCreatedInterface;
1111
use RuntimeException;
1212

1313
class VerificationCodeManager

src/VerificationCodeServiceProvider.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace NextApps\VerificationCode;
3+
namespace Wotz\VerificationCode;
44

55
use Illuminate\Support\ServiceProvider;
6-
use NextApps\VerificationCode\Console\PruneCommand;
6+
use Wotz\VerificationCode\Console\PruneCommand;
77

88
class VerificationCodeServiceProvider extends ServiceProvider
99
{

tests/Commands/PruneCommandTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace NextApps\VerificationCode\Tests\Feature;
3+
namespace Wotz\VerificationCode\Tests\Feature;
44

5-
use NextApps\VerificationCode\Models\VerificationCode;
6-
use NextApps\VerificationCode\Tests\TestCase;
5+
use Wotz\VerificationCode\Models\VerificationCode;
6+
use Wotz\VerificationCode\Tests\TestCase;
77

88
class PruneCommandTest extends TestCase
99
{

0 commit comments

Comments
 (0)