定制 laravel-validation-rules/offensive 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

laravel-validation-rules/offensive

Composer 安装命令:

composer require laravel-validation-rules/offensive

包简介

Metapackage for https://github.com/DivineOmega/laravel-offensive-validation-rule

README 文档

README

This rule will validate that a field isn't offensive. It can be useful to check user supplied data that may be publicly displayed, such as usernames or comments.

Installation

composer require laravel-validation-rules/offensive

Usage

use DivineOmega\LaravelOffensiveValidationRule\Offensive;

$request->validate([
    'username' => ['required', new Offensive],
]);

You are also able to specifiy a custom offensive word blacklist and whitelist. If you wish to do this, check the additional usage examples.

License

This project is licensed under a GNU Lesser General Public License v3.0 which you can find in this LICENSE.

Feedback

If you have any feedback, comments or suggestions, please feel free to open an issue within this repository.

Laravel Validation Rules

This package is part of the Laravel Validation Rules collection. If you're after more useful validation rules, head to the Laravel Validation Rules website.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2018-05-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固