Download the PHP package xylis/mailboxlayer-client without Composer
On this page you can find all versions of the php package xylis/mailboxlayer-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xylis/mailboxlayer-client
More information about xylis/mailboxlayer-client
Files in xylis/mailboxlayer-client
Package mailboxlayer-client
Short Description MailboxLayer API Client for validating emails
License GPL-3.0-or-later
Homepage https://github.com/JulienRAVIA/MailboxLayerClient
Informations about the package mailboxlayer-client
MailboxLayerClient
This library is a PHP client for MailboxLayer, it's useful to validate if a email address provided by a user is valid, exists or to have some useful informations about an email address.
Structure
Install
This package requires PHP >= 7.1.
Via Composer
Basic Usage
Documentation
Client constructor
- If you put $smtpCheck to false (true by default), the api won't check if email address exist
- If you put $prettyFormat to true (false by default), the api will return prettified JSON result (use only for debugging)
- If you put $catchAllCheck to true (false by default), the api will check if the addresses you check are catch-all mailboxes.
Please do read the MailboxLayer Documentation to understand how their API works.
returns an email object so you can do this way :
How the function works :
If $bypassFilterValidation
is set to true (false by default), the client won't verify if $emailAddress
himself is an email, so the client will make the API request to the API anyway.
$bypassFilterValidation
is set to false gain in performance and avoid useless results
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email Julien RAVIA instead of using the issue tracker.
Credits
- Julien RAVIA
- All Contributors
License Information
- GNU GPL v3
- You can find a copy of this software here: https://github.com/JulienRAVIA/MailboxLayerClient
All versions of mailboxlayer-client with dependencies
ext-curl Version *
ext-json Version *
jameshalsall/object-hydrator Version ^1.2