netkod-bilisim/tr-tax-number-faker

It is faker function for tax number.

v1.0.0 2023-07-29 15:27 UTC

This package is auto-updated.

Last update: 2025-03-29 01:07:08 UTC


README

Latest Stable Version Total Downloads Dependents License PHP Version Scrutinizer StyleCI

Introduction

It is faker function for tax number.

Requirements

  • PHP >= 7.4

Install

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

Usage

namespace Database\Factories;
 
use Illuminate\Support\Str;
use Illuminate\Database\Eloquent\Factories\Factory;
 
class TaxNumberFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'tax_number' => trTaxNumberFaker(),
        ];
    }
}

License

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