PHPackages                             netkod-bilisim/tr-tax-number-validation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. netkod-bilisim/tr-tax-number-validation

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

netkod-bilisim/tr-tax-number-validation
=======================================

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

v1.0.0(2y ago)0961MITPHPPHP &gt;=7.4

Since Jul 29Pushed 2y agoCompare

[ Source](https://github.com/netkod-bilisim/tr-tax-number-validation)[ Packagist](https://packagist.org/packages/netkod-bilisim/tr-tax-number-validation)[ RSS](/packages/netkod-bilisim-tr-tax-number-validation/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (1)

Tr Tax Number Validation
========================

[](#tr-tax-number-validation)

[ ![Latest Stable Version](https://camo.githubusercontent.com/5de3a2dcc36627c1143c0973e3c192ad3ff462f6fa8258286fb8471ac1495bb6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e65746b6f642d62696c6973696d2f74722d7461782d6e756d6265722d76616c69646174696f6e)](https://packagist.org/packages/netkod-bilisim/tr-tax-number-validation)[ ![Total Downloads](https://camo.githubusercontent.com/436a36128218f154b3f23230bfcb29343cfc495a046704e0a1d07ced398ef034/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e65746b6f642d62696c6973696d2f74722d7461782d6e756d6265722d76616c69646174696f6e)](https://packagist.org/packages/netkod-bilisim/tr-tax-number-validation)[ ![Dependents](https://camo.githubusercontent.com/2aca82d8039f9471bcab24bb803fa6343b251a6bae935507f631c8961130392d/68747470733a2f2f706f7365722e707567782e6f72672f6e65746b6f642d62696c6973696d2f74722d7461782d6e756d6265722d76616c69646174696f6e2f646570656e64656e74732e737667)](https://packagist.org/packages/netkod-bilisim/tr-tax-number-validation)[ ![License](https://camo.githubusercontent.com/06921570797f51727b24291a8485662234331368e5faf7563ce1c167fd96aa52/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e65746b6f642d62696c6973696d2f74722d7461782d6e756d6265722d76616c69646174696f6e)](https://packagist.org/packages/netkod-bilisim/tr-tax-number-validation)

[ ![PHP Version](https://camo.githubusercontent.com/c706a3ada7eda73f72795afe5d07411cc77d33da62333ace9093275515a33882/687474703a2f2f706f7365722e707567782e6f72672f6e65746b6f642d62696c6973696d2f74722d7461782d6e756d6265722d76616c69646174696f6e2f726571756972652f706870)](https://packagist.org/packages/netkod-bilisim/tr-tax-number-validation)[ ![Scrutinizer](https://camo.githubusercontent.com/7cc2661c8600972b78cd13e475ebca268d6842856c72e262597e53cf810e1ece/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e65746b6f642d62696c6973696d2f74722d7461782d6e756d6265722d76616c69646174696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/netkod-bilisim/tr-tax-number-validation/badges/quality-score.png?b=master)[ ![StyleCI](https://camo.githubusercontent.com/d93b16b76523ed159fe836fb0c36c54415b90d04e363e76099ed909e1242377b/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3637323239363132332f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/672296123?branch=master)

[![](public/assets/images/presentation.png)](public/assets/images/presentation.png) Introduction
------------------------------------------------------------------------------------------------

[](#-introduction)

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

[![](public/assets/images/requirement.png)](public/assets/images/requirement.png) Requirements
----------------------------------------------------------------------------------------------

[](#-requirements)

- PHP &gt;= 7.4

[![](public/assets/images/inbox.png)](public/assets/images/inbox.png) Install
-----------------------------------------------------------------------------

[](#-install)

```
composer require netkod-bilisim/tr-tax-number-validation:"^1"
```

[![](public/assets/images/web-coding.png)](public/assets/images/web-coding.png) Usage
-------------------------------------------------------------------------------------

[](#-usage)

```
use NetkodBilisim\TrTaxNumberValidation;

$result = TrTaxNumberValidation::validate(1234567891);
var_dump($result);

# Result: bool(false)
```

[![](public/assets/images/licensing.png)](public/assets/images/licensing.png) License
-------------------------------------------------------------------------------------

[](#-license)

This package is open source software licensed under the [MIT License](https://opensource.org/license/mit/).

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1070d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22560065?v=4)[Remzi DALYAN](/maintainers/remzidalyan)[@remzidalyan](https://github.com/remzidalyan)

---

Top Contributors

[![remzidalyan](https://avatars.githubusercontent.com/u/22560065?v=4)](https://github.com/remzidalyan "remzidalyan (4 commits)")

---

Tags

validationtax numbertax number validationtrtr tax numbertr tax number validation

### Embed Badge

![Health badge](/badges/netkod-bilisim-tr-tax-number-validation/health.svg)

```
[![Health](https://phpackages.com/badges/netkod-bilisim-tr-tax-number-validation/health.svg)](https://phpackages.com/packages/netkod-bilisim-tr-tax-number-validation)
```

###  Alternatives

[composer/semver

Version comparison library that offers utilities, version constraint parsing and validation.

3.3k522.3M990](/packages/composer-semver)[giggsey/libphonenumber-for-php

A library for parsing, formatting, storing and validating international phone numbers, a PHP Port of Google's libphonenumber.

5.0k159.6M526](/packages/giggsey-libphonenumber-for-php)[respect/validation

The most awesome validation engine ever created for PHP

6.0k39.9M415](/packages/respect-validation)[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k39.7M145](/packages/propaganistas-laravel-phone)[opis/json-schema

Json Schema Validator for PHP

65243.6M302](/packages/opis-json-schema)[giggsey/libphonenumber-for-php-lite

A lite version of giggsey/libphonenumber-for-php, which is a PHP Port of Google's libphonenumber

9216.6M75](/packages/giggsey-libphonenumber-for-php-lite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
