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
@@ -40,9 +42,10 @@ An API key is required for this module to function.
40
42
Go to https://www.mailboxvalidator.com/plans#api to sign up for FREE API plan and you'll be given an API key.
41
43
42
44
After that, please save your API key in your web application environement file like this:
43
-
``
45
+
46
+
```
44
47
MBV_API_KEY = 'PASTE_YOUR_API_KEY_HERE'
45
-
``
48
+
```
46
49
47
50
## Functions
48
51
@@ -66,7 +69,7 @@ Check the email address from the form and validate it whether is a disposable em
66
69
67
70
## Usage
68
71
69
-
To use this package to validate the email coming from form submission, you will just need to include `'|disposable'`in Validator function in app\Http\Controllers\Auth\RegisterController.php . A step by step tutorial is included [here](https://www.mailboxvalidator.com/resources/articles/how-to-use-mailboxvalidator-laravel-email-validation-package-to-validate-email-during-registration/).
72
+
To use this package to validate the email coming from form submission, you will just need to include `'|disposable'`in Validator function in `app\Http\Controllers\Auth\RegisterController.php` . A step by step tutorial is included [here](https://www.mailboxvalidator.com/resources/articles/how-to-use-mailboxvalidator-laravel-email-validation-package-to-validate-email-during-registration/).
70
73
71
74
To print the validation result on single email, you will first need to include this line on top of your file: `use MailboxValidatorLaravel\Validation\ValidateEmail;` . Then, initialite the ValidateEmail class by using this line: `$validate = new ValidateEmail();`. Lastly, just call `$validate->GetValidateDisposable('email_tobe_validate','your_api_key');` into a variable and print out the variable. For example, your controller file might be looks like this:
72
75
@@ -106,4 +109,4 @@ class ViewValidateResultController extends Controller
106
109
107
110
## Copyright
108
111
109
-
Copyright (C) 2018-2024 by MailboxValidator.com, support@mailboxvalidator.com
112
+
Copyright (C) 2018-2025 by MailboxValidator.com, support@mailboxvalidator.com
0 commit comments