netkod-bilisim / tr-identity-number-validation-rule-extend
It checks the TR Identity Number. It is the extended version package of the TR Identity Number verification package prepared to be used in the request rules.
v1.0.0
2023-08-03 07:24 UTC
Requires
- php: >=7.4
- illuminate/support: >=5.5
- netkod-bilisim/tr-identity-number-validation: ^1
This package is auto-updated.
Last update: 2025-03-31 11:13:56 UTC
README
Introduction
It checks the TR Identity Number. It is the extended version package of the TR Identity Number verification package prepared to be used in the request rules.
Requirements
- PHP >= 7.4
Install
composer require netkod-bilisim/tr-identity-number-validation-rule-extend:"^1"
Usage
public function store(Request $request): RedirectResponse { $validated = $request->validate([ 'citizen_number' => 'required|tr_identity_number', ]); // The user is valid... return redirect('/users'); }
License
This package is open source software licensed under the MIT License.