Download the PHP package zero-to-prod/validate-email-cli without Composer
On this page you can find all versions of the php package zero-to-prod/validate-email-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zero-to-prod/validate-email-cli
More information about zero-to-prod/validate-email-cli
Files in zero-to-prod/validate-email-cli
Package validate-email-cli
Short Description A CLI for Validating an Email
License MIT
Homepage https://github.com/zero-to-prod/validate-email-cli
Informations about the package validate-email-cli
Zerotoprod\ValidateEmailCli
Contents
- Introduction
- Requirements
- Installation
- Documentation Publishing
- Automatic Documentation Publishing
- Usage
- Available Commands
validate-email-cli:srcvalidate-email-cli:show-regexvalidate-email-cli:validate
- Docker Image
- Local Development
- Image Development
- Contributing
Introduction
A cli for validating an email.
Requirements
- PHP 8.1 or higher.
Installation
Install Zerotoprod\ValidateEmailCli via Composer:
This will add the package to your project's dependencies and create an autoloader entry for it.
Documentation Publishing
You can publish this README to your local documentation directory.
This can be useful for providing documentation for AI agents.
This can be done using the included script:
Automatic Documentation Publishing
You can automatically publish documentation by adding the following to your composer.json:
Usage
Run this command to see the available commands:
Available Commands
This CLI provides three main commands for email validation and project information:
validate-email-cli:src
Displays the project's GitHub repository URL.
Usage:
Arguments: None
Example:
validate-email-cli:show-regex
Shows the regex pattern used to validate email addresses.
Usage:
Arguments: None
Example:
validate-email-cli:validate
Validates an email address. Returns the email when valid, empty string otherwise.
Usage:
Arguments:
email(required) - The email address to validate
Examples:
Docker Image
You can also run the cli using the docker image:
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
All versions of validate-email-cli with dependencies
ext-json Version *
symfony/console Version ^7.2
zero-to-prod/validate-email Version ^71.0
zero-to-prod/package-helper Version ^1.1.3
zero-to-prod/regex-email Version ^71.1