marcel-strahl / laminas-temporary-email-validator
This package is abandoned and no longer maintained.
No replacement package was suggested.
add temporary email address validator for laminas / mezzio
v1.0.0
2021-06-24 22:37 UTC
Requires
Requires (Dev)
- laminas/laminas-coding-standard: ^2.3
- laminas/laminas-container-config-test: ^0.3.2
- phpunit/phpunit: ^9.5
- psalm/plugin-phpunit: ^0.16.1
- vimeo/psalm: ^4.7
This package is auto-updated.
Last update: 2024-10-06 00:53:46 UTC
README
It is compatible and tested with PHP 8.+ on Laminas.
Installation:
composer require marcel-strahl/laminas-temporary-email-validator
The following is an attribute example:
namespace Application\Annotation; use MarcelStrahl\LaminasTemporaryEmailValidator\Validator\IsNotTemporaryEmailValidator; #[Annotation\Name("contact")] class Contact { #[Annotation\Validator(IsNotTemporaryEmailValidator::class)] public $email; }
Hint:
I am not the creator of the "Temporary Email Detection" but have changed the following package into a Symfony Validator!
Main Package Temporary E-Mail Detection: https://github.com/jprangenbergde/temporary-email-detection
Credits
- Marcel Strahl info@marcel-strahl.de
License
This bundle is under the MIT license.
For the whole copyright, see the LICENSE file distributed with this source code.