Download the PHP package andreaskiessling/validemail without Composer

On this page you can find all versions of the php package andreaskiessling/validemail. 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 validemail

validemail - Enhanced Email TLD Validation for TYPO3 v11 to v13

The validemail extension extends TYPO3's standard email validation with an improved TLD validation. It adds a check for the domain, so that at least one dot is present after the @-sign.

How to test in your setup

When doing a manual test, the browser validation will prevent you from submitting the form, if the email address is invalid.

Bots just send the form data to the action URL of the form tag, and then the \TYPO3\CMS\Core\Utility\GeneralUtility::validEmail method is usually used to validate the email address. This method uses egulias/email-validator which does not check if the domain contains a dot.

Warning:

Do not install this package if you send emails to local addresses or in an intranet environment that do not have a dot in the domain part.

Test on your own

If you want to test this behavior yourself, deactivate JavaScript in your browser, which will also disable the browser validation. Then submit your form with something like "test@example" - this will be accepted by the validEmail check without this extension.

See these issues for additional information:

Installation

Via Composer (recommended)

Testing (local Docker matrix)

This repository contains a local Docker-based test matrix to run the unit tests against multiple TYPO3 and PHP versions.

Prerequisites

Build / rebuild the PHP test runner images

Build all images (uses cache where possible):

Force a clean rebuild (helpful after changing docker/php-cli/Dockerfile):

Run the full test matrix

Each matrix entry runs in its own sandbox under:

This keeps your working tree clean (no vendor/ or composer.lock changes in the repo root).

Run only a single matrix entry (or a subset)

You can filter matrix entries by substring:

Tip: To see all available entries, open scripts/test-matrix.sh and look at the MATRIX=(...) list.

Note about TYPO3 v11 and Composer security advisories

TYPO3 v11 is EOL and flagged by Packagist security advisories. For local matrix testing, the script disables Composer's "block insecure" mechanism inside the TYPO3 v11 sandbox only. This is done purely to keep legacy test coverage; it is not a recommendation for production usage.

This extension will hopefully be obsolete once https://github.com/egulias/EmailValidator/issues/359 is solved.


All versions of validemail with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1,<8.6
typo3/cms-core Version ^11.5 || ^12.4 || ^13.4 || ^14.0
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 andreaskiessling/validemail contains the following files

Loading the files please wait ...