Welcome to the turkiye-validator repository! This tool helps you easily validate Turkish data in Laravel applications. It includes rules for important identifiers like TCKN, VKN, and IBAN. Plus, it offers a zero-database Address Service for cities and districts.
To run turkiye-validator, you need:
turkiye-validator uses built-in rules to perform checks on Turkish data. This means you can easily integrate validation into your Laravel projects without hassle. The validation processes run directly at the application level, saving you from manual checks.
To get started, visit the releases page to download the software. Click the link below to access it directly.
Once you’ve downloaded the package, follow these steps to install it:
app directory or wherever you keep your packages.composer require your-vendor/turkiye-validator
config/app.php file if necessary.php artisan vendor:publish --provider="YourVendor\TurkiyeValidator\ServiceProvider"
use YourVendor\TurkiyeValidator\TCKNValidator;
$validator = new TCKNValidator();
if ($validator->validate('your_tckn_value')) {
// TCKN is valid
} else {
// TCKN is invalid
}
For further details on usage and configuration options, please refer to the documentation available in the repository.
If you have any questions, feel free to open an issue in this repository. We are here to help!
This project is licensed under the MIT License. See the LICENSE file for details.
Thank you for choosing turkiye-validator! Happy validating!