Download the PHP package amgrade/laravel-heimdall without Composer
On this page you can find all versions of the php package amgrade/laravel-heimdall. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-heimdall
Laravel Heimdall
About Laravel Heimdall
Laravel Heimdall is a package that allows you to specify a list of exact emails, email domains, and regular expressions for prohibiting emails.
Installation
Configuration
This packages supports discovery configuration of the service provider. If you prefer manual installation, then add to config/app.php
into providers
section next line:
You can optionally publish the config file with:
Then open the config/heimdall.php
and configure a list of emails, regular expressions or domains against which will be checked the email.
Usage
You have two options to use this package: observer or/and validation rule.
Observer prevents the creating/updating of enumerated models in heimdall.php
config file.
If you want to use the validation rule, just add heimdall
validation rule to the field which should be validated, for example 'email' => ['heimdall']
.
Available options in a heimdall
validation rule: full
, domain
and regexp
, all
- combination of these three rules.
Validation rule usage: heimdall:domain
, heimdall:domain,regexp
.
If no rule type is added, will be applied all
rule type. For example: heimdall
, heimdall:
.
All versions of laravel-heimdall with dependencies
illuminate/container Version 9.* || 10.*
illuminate/contracts Version 9.* || 10.*
illuminate/database Version 9.* || 10.*
illuminate/support Version 9.* || 10.*