cable8mm/laravel-validation-kisa-rules 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

cable8mm/laravel-validation-kisa-rules

最新稳定版本:v1.1.0

Composer 安装命令:

composer require cable8mm/laravel-validation-kisa-rules

包简介

A set of useful Laravel validation password rules for KISA

README 文档

README

code-style run-tests Packagist Version Packagist Downloads Packagist Dependency Version Packagist Stars Packagist License

This repository contains a helpful Laravel validation rule for KISA passwords. KISA is an organization dedicated to securing the internet network in South Korea. Major websites operating in South Korea are required to adhere to KISA password standards. Therefore, this is a small library designed to verify passwords according to the KISA standard.

Features

  • Implement support for KISA standard validation in Laravel
  • Enable easy installation via Composer

Support & Tested

Available PHP Laravel
8.1 10.x
8.2 10.x
8.2 11.x
8.2 12.x
8.3 10.x
8.3 11.x
8.3 12.x

Installation

You can install the package via composer:

composer require cable8mm/laravel-validation-kisa-rules

The package will automatically register itself.

Translations

If you wish to edit the package translations, you can run the following command to publish them into your resources/lang folder

php artisan vendor:publish --provider="Cable8mm\ValidationKisaRules\ValidationKisaRulesServiceProvider"

Usage

KisaPassword rule

use Cable8mm\ValidationKisaRules\Rules\KisaPassword;
use Illuminate\Http\Request;

public function store(Request $request)
{
    $validated = $request->validate([
        'password' => ['required', 'confirmed', new KisaPassword()],
    ]);
}

Testing

composer test

Formatting

composer lint
# Modify all files to comply with the PHP coding standards.

composer inspect
# Inspect all files to ensure compliance with PHP coding standards.

Reference

  • KISA password documents : go link

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-04