1. Go to this page and download the library: Download eg-mohamed/email-validation 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/ */
return [
'syntax' => 'The :attribute must be a valid email address.',
'dns' => 'The :attribute domain does not have valid MX records.',
'disposable' => 'Disposable email addresses are not allowed.',
];
return [
'syntax' => 'يجب أن يكون :attribute عنوان بريد إلكتروني صالح.',
'dns' => 'نطاق :attribute لا يحتوي على سجلات MX صالحة.',
'disposable' => 'عناوين البريد الإلكتروني المؤقتة غير مسموح بها.',
];