x-adam/tr-citizen-number-validation

Turkey citizen number (TC No) validation class.

Installs: 899

Dependents: 3

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/x-adam/tr-citizen-number-validation

v4.0.0 2020-12-15 19:29 UTC

This package is auto-updated.

Last update: 2025-10-16 03:59:16 UTC


README

Latest Stable Version Total Downloads Dependents License

StyleCI

Introduction

Turkey citizen number (TC No) validation class.

Requirements

PHP >=7.4. Other than that, this library has no requirements.

Install

$ composer require x-adam/tr-citizen-number-validation:"~4"

Example Usage

include "./vendor/autoload.php";

$result = XAdam\TrCitizenNumberValidation::validate(12345678901);
var_dump($result);

# Result: bool(false)

License

This package is open source software licensed under the MIT license.