PHP code example of coodde / laravel-email-checker
1. Go to this page and download the library: Download coodde/laravel-email-checker library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
coodde / laravel-email-checker example snippets
use Coodde\LaravelMailChecker\Rules\MailRegionsValidation;
use Coodde\LaravelMailChecker\Regions;
public function store(Request $request): RedirectResponse
{
$validated = $request->validate([
'email' => ['valid...
return redirect('/list');
}
use Coodde\LaravelMailChecker\Rules\MailDomainsValidation;
use Coodde\LaravelMailChecker\Regions;
public function store(Request $request): RedirectResponse
{
$validated = $request->validate([
'email' => ['
return redirect('/list');
}
use Coodde\LaravelMailChecker\Rules\MailListedValidation;
use Coodde\LaravelMailChecker\Regions;
public function store(Request $request): RedirectResponse
{
$validated = $request->validate([
'email' => ['t is valid...
return redirect('/list');
}
use Coodde\LaravelMailChecker\Rules\MailValidation;
use Coodde\LaravelMailChecker\Regions;
public function store(Request $request): RedirectResponse
{
$validated = $request->validate([
'email' => [
'edValidation::CATEGORY_PAID,
MailListedValidation::CATEGORY_PUBLIC,
],
[
'fb.com',
],
[
Regions::RUSSIA,
Regions::BELARUS,
],
),
],
]);
// OR with separate validators
$validated = $request->validate([
'email' => [
'
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.