1. Go to this page and download the library: Download deligoez/tckimlikno library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
deligoez / tckimlikno example snippets
// In a Form Request Class
public function rules()
{
return [
'tckimlikno' => ['
// In a Controller
use Deligoez\TCKimlikNo\Rules\TCKimlikNoVerify;
/**
* Store a tckn.
*
* @param Request $request
* @return Response
*/
public function store(Request $request)
{
$validatedData = $request->validate([
'tckn' => ['bail', '
// In a Form Request Class
public function rules()
{
return [
'tckimlikno' => ['// Optional, defaults to true
)],
];
}
use Deligoez\TCKimlikNo\Provider\TCKimlikNoFakerProvider;
$faker = Faker\Factory::create();
$faker->addProvider(new TCKimlikNoFakerProvider($faker));
// a Random Valid TCKN
$tckn = $faker->tckn; // 60174067810
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.