netkod-bilisim/tr-identity-number-validation

It checks that the TR Identity Number is in the correct format.

v1.0.0 2023-07-27 14:26 UTC

This package is auto-updated.

Last update: 2025-03-27 18:10:40 UTC


README

Latest Stable Version Total Downloads Dependents License License License StyleCI

Introduction

It checks that the TR Identity Number is in the correct format.

Requirements

PHP >= 7.4

Install

composer require netkod-bilisim/tr-identity-number-validation

Usage

use NetkodBilisim\TrCitizenNumberValidation;

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

# Result: bool(false)

License

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