Download the PHP package aziraphale/email-address-validator without Composer

On this page you can find all versions of the php package aziraphale/email-address-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package email-address-validator

Email-Address-Validator

This is a fork of AddedBytes' EmailAddressValidator class.

Changes

Changes include:

Note that this class is still un-namespaced - i.e. it's still declared in the global namespace. The composer.json file is still set up to correctly load it when required, so this shouldn't be a problem in practice - it's just perhaps not best-practice.

Installation

Use Composer:

If you don't want to use Composer (why not?!), just download the EmailAddressValidator.php file, save it with your project, and require it where needed.

Note that this updated version is version 2.0.0. I have kept the original class tagged as version 1.0.10 (it was the 10th commit to the Google Code svn repository). If you want to use Composer to install the old class, simply specify ^1 as the version constraint (which will allow for backwards-compatible changes to be installed, if any get made, while never jumping to my modified class without your direct action):

Usage

Due to the aforementioned changes, the way of using this class has completely changed. However it has such a small and simple interface that these changes shouldn't be problematic.

As a recap, the old usage was like this:

The new syntax is as follows (ensure you have already included Composer's autoload.php file!):

with a couple of additional methods in case they're helpful:


All versions of email-address-validator with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package aziraphale/email-address-validator contains the following files

Loading the files please wait ....