承接 xynnn/blacklisted-email-validator-bundle 相关项目开发

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

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

xynnn/blacklisted-email-validator-bundle

Composer 安装命令:

composer require xynnn/blacklisted-email-validator-bundle

包简介

An extended email address validator which validates against blacklisted hostnames for Symfony 2

README 文档

README

Code Coverage Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads License

An extended email address validator which validates against blacklisted hostnames for Symfony 2. It's designed for easy usage! Install it in a Symfony project or also use it as framework-agnostic library.

Requirements

  • PHP 5.6 and higher
  • Symfony 2.7 and higher

Installation

Install this bundle with composer:

composer require xynnn/blacklisted-email-validator-bundle

Register the bundle in app/AppKernel.php

public function registerBundles()
{
  $bundles = [
    // ...
    new Xynnn\BlacklistedEmailValidatorBundle\XynnnBlacklistedEmailValidatorBundle(),
  ];
}

Usage

Add the new registered Constraint to your models or get it from the service container as a standalone service like every time. For more information about the Symfony validation package please look at The Symfony Book.

Normally without to adjust the configuration it will blacklist the hostnames which are defined in the service definition under Resources/config/services.xml. You can override these defaults with the provided configuration ability.

xynnn_blacklisted_email_validator:
    strict: true // Enable strict mode for email validator
    hosts: ["domain1.com", "domain2.com"]

Authors

Philipp Bräutigam

License

Copyright (c) 2016 Philipp Bräutigam
This repository is released under the GNU LGPL v3.0 license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GNU
  • 更新时间: 2016-01-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固