PHPackages                             titipat/faker-php-thai - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. titipat/faker-php-thai

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

titipat/faker-php-thai
======================

v0.0.3(2mo ago)08↓50%MITPHP

Since Mar 4Pushed 2mo agoCompare

[ Source](https://github.com/titipat/faker-php-thai)[ Packagist](https://packagist.org/packages/titipat/faker-php-thai)[ RSS](/packages/titipat-faker-php-thai/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Faker PHP Thai
==============

[](#faker-php-thai)

Faker PHP provider for Thai language

Installation
------------

[](#installation)

```
composer require titipat/faker-php-thai

```

Usage
-----

[](#usage)

### Standalone

[](#standalone)

```
$faker = \Faker\Factory::create('th_TH');
$faker->addProvider(new \Titipat\Faker\Provider\th_TH\Text($faker));

echo $faker->text();
```

### Laravel

[](#laravel)

```
// Your service provider, e.g. App\Providers\AppServiceProvider

use Faker\Generator;

public function boot(): void
{
    $this->app->extend(Generator::class, function (Generator $faker) {
        $faker->addProvider(new \Titipat\Faker\Provider\th_TH\Text($faker));
        return $faker;
    });

    $this->app->bind(
        Generator::class . ":" . config("app.faker_locale", "th_TH"),
        Generator::class,
    );
}
```

```
echo fake()->text();
```

```
{{ fake()->text() }}
```

Available formatters
--------------------

[](#available-formatters)

### Titipat\\Faker\\Provider\\th\_TH\\Person

[](#titipatfakerproviderth_thperson)

```
nationalIdNumber(); // 1234567890123
```

### Titipat\\Faker\\Provider\\th\_TH\\Text

[](#titipatfakerproviderth_thtext)

```
text($maxNbChars = 200); // ดังจะเห็นได้จากศาลเทพเจ้าขนาดใหญ่ที่มีผู้คนจำนวนมากเข้าไปสักการะกราบไหว้ กล่าวโดยสรุป คติความเชื่อเรื่องเทวดาหรือเทพเจ้าในสังคมไทยนี้มีมาแต่ครั้งก่อนสถาปนาอาณาจักรสุโขทัย
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance88

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

3

Last Release

60d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b441d8ae4e6245e64f3f0960ef8edaf4f465024bc8850e3fe64a50101f858303?d=identicon)[titipat](/maintainers/titipat)

---

Top Contributors

[![titipat](https://avatars.githubusercontent.com/u/26892122?v=4)](https://github.com/titipat "titipat (5 commits)")

### Embed Badge

![Health badge](/badges/titipat-faker-php-thai/health.svg)

```
[![Health](https://phpackages.com/badges/titipat-faker-php-thai/health.svg)](https://phpackages.com/packages/titipat-faker-php-thai)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[georgringer/gdpr

Make TYPO3 more compatible to GDPR

4657.1k](/packages/georgringer-gdpr)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[nonsapiens/realaddressfactory

Creates real-world street addresses from Google Maps, to use in database seeding, unit tests, or anything else. Supports Laravel 11+, and Faker

4910.2k7](/packages/nonsapiens-realaddressfactory)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
