netkod-bilisim/tr-tax-number-validation-rule-extend

It checks the TR Tax Number. It is the extended version package of the TR Tax Number verification package prepared to be used in the request rules.

This package is auto-updated.

Last update: 2025-03-31 12:51:22 UTC


README

Latest Stable Version Total Downloads Dependents License License Scrutinizer StyleCI

Introduction

It checks the TR Tax Number. It is the extended version package of the TR Tax Number verification package prepared to be used in the request rules.

Requirements

  • PHP >= 7.4

Install

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

Usage

public function store(Request $request): RedirectResponse
{
    $validated = $request->validate([
        'tax_number' => 'required|tr_tax_number',
    ]);
 
    // The user is valid...
 
    return redirect('/users');
}

License

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