承接 amgrade/laravel-heimdall 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

amgrade/laravel-heimdall

最新稳定版本:v2.0.0

Composer 安装命令:

composer require amgrade/laravel-heimdall

包简介

README 文档

README

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

composer require amgrade/laravel-heimdall

Configuration

This package supports the discovery configuration of the service provider. If you prefer manual installation, then add to config/app.php in the providers section the next line:

'providers' => [
    AMgrade\Heimdall\ServiceProvider::class,
],

You can optionally publish the config file with:

php artisan vendor:publish --provider="\AMgrade\Heimdall\ServiceProvider"

Then open the config/heimdall.php and configure a list of emails, regular expressions, or domains against which the email will be checked.

Usage

You have two options to use this package: observer or/and a 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, regexp, and all - a 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:.

统计信息

  • 总下载量: 330
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固