aman00323/email-checker ? reverse-engineered prompt

Reverse engineered prompt

Build me a PHP package for Laravel that checks whether an email address looks real and safe to use. I want it to help cut down fake signups and disposable email addresses by checking if the domain is disposable, looking up DNS and MX records, and trying an SMTP probe when possible.

Please make it easy to use from a Laravel app with a simple service class I can call on an email address, and have it return a clear result with success or failure plus details I can show or log. I also want a full email check that runs all the checks together, plus separate methods for disposable email, domain existence, and MX or DNS validation.

Add sensible defaults, but let me change things like SMTP on or off, port, timeout, and sender email through config or per request. Keep it compatible with modern Laravel and PHP 8.1 or newer. If you need to look up current docs online while wiring things up, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab