{"repo":"ash-jc-allen/email-utilities","free":true,"listed":false,"github":"https://github.com/ash-jc-allen/email-utilities","clone":"git clone https://github.com/ash-jc-allen/email-utilities.git","description":"A small Laravel package that can be used for interacting with email addresses","language":"PHP","stars":132,"topics":["hacktoberfest","laravel"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Table of Contents - Overview - Installation Requirements Install the Package - Usage The Email Class + Disposable Email Addresses + Role-based Email Addresses + Checking the Domain of an Email Address - domainIs Method - domainIsNot Method Validation Rules + EmailDomainIs Rule + EmailDomainIsNot Rule Commands + Updating the Disposable Email Domains List - Config Disposable Email Domains List Role Accounts List - Testing - Security - Contribution - Changelog - Credits - License Overview A small Laravel package that can be used for interacting with email addresses. Installation Requirements The package has been developed and tested to work with the following minimum requirements: - PHP 8.4 - Laravel 12.0 Install the Package You can install the package via Composer: After installing the package, you can then publish the configuration file using the following command: Running this command will create a config/email-utilities.php file. Usage The Email Class The package provides an AshAllenDesign\\EmailUtilities\\Email class that can be used to interact with email addresses. You can create a new instance of it by passing an email address to the constructor: Disposable Email Addresses You can check whether a given email address is deemed to be disposable/temporary (meaning it's provided by a disposable email address provider) by using the isDisposable() method: The package's list of disposable domains is defined in the AshAllenDesign\\EmailUtilities\\Lists\\DisposableDomainList class. Yo","default_branch":null,"files":null,"tree":[],"storefront":"/r/ash-jc-allen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ash-jc-allen/email-utilities/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}