PHP code example of usercheck / usercheck-laravel

1. Go to this page and download the library: Download usercheck/usercheck-laravel 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/ */

    

usercheck / usercheck-laravel example snippets


$request->validate([
    'email' => '

$request->validate([
    'email' => '

use UserCheck\Laravel\Facades\UserCheck;
$result = UserCheck::validateEmail('[email protected]');
$result = UserCheck::validateDomain('example.com');
bash
php artisan vendor:publish --provider="UserCheck\Laravel\UserCheckProvider" --tag="lang"