yunusasuroglu/kimlikno 问题修复 & 功能扩展

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

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

yunusasuroglu/kimlikno

Composer 安装命令:

composer require yunusasuroglu/kimlikno

包简介

T.C. Kimlik Numarası doğrulama paketi

README 文档

README

Description

This package was developed to facilitate the verification process of the Turkish Republic Identity Number.

Setup

Run the following command to add your package to the project:

composer require yunusasuroglu/kimlikno

Use

You can use the verification functionality provided by the package as follows:

1. Using Laravel

  1. Add your service provider to config/app.php file:
'providers' => [
    yunusasuroglu\KimlikNo\KimlikNoServiceProvider::class,
];
  1. Facade Add:
'aliases' => [
    'KimlikNo' => yunusasuroglu\KimlikNo\Facades\KimlikNo::class,
];
  1. Use:
use yunusasuroglu\KimlikNo\KimlikNo;

$tcNo = "12345678901";

if (KimlikNo::dogrula($tcNo)) {
    echo "Turkish Republic Identity Number is valid.";
} else {
    echo "Turkish Republic Identity Number is not valid.";
}

Requirements

  • PHP 8.0 or above
  • Composer

Contribute

  1. Fork this project.
  2. Create a new feature branch (feature/feature-adi).
  3. Commit your changes (git commit -m 'New feature added').
  4. Push the branch to master (git push origin feature/feature-adi).
  5. Open a Pull Request.

Licence

This project is licensed under the MIT License.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-11