PHPackages                             nelisys/laravel-dompdf-thai-font - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. nelisys/laravel-dompdf-thai-font

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

nelisys/laravel-dompdf-thai-font
================================

Adding Thai Fonts for Laravel Dompdf

v0.1.0(5y ago)06.1k↓50%4[1 PRs](https://github.com/nelisys/laravel-dompdf-thai-font/pulls)MITPHP

Since Jan 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/nelisys/laravel-dompdf-thai-font)[ Packagist](https://packagist.org/packages/nelisys/laravel-dompdf-thai-font)[ RSS](/packages/nelisys-laravel-dompdf-thai-font/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Laravel Dompdf Thai Font
========================

[](#laravel-dompdf-thai-font)

This package is adding Thai fonts for `barryvdh/laravel-dompdf` to allow users can type Thai in generated PDF.

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

[](#installation)

Run composer to install the package.

```
composer require nelisys/laravel-dompdf-thai-font

```

Publish the fonts files.

```
php artisan vendor:publish --provider="Nelisys\LaravelDompdfThaiFont\ServiceProvider"

```

Create `storage/fonts` to store cache files.

```
mkdir storage/fonts

```

Usage
-----

[](#usage)

Add `@LaravelDompdfThaiFont` inside ``.

```

@LaravelDompdfThaiFont

body {
    font-family: 'THSarabunNew';
}

    ทดสอบสร้าง PDF ภาษาไทย

```

Related Links
-------------

[](#related-links)

- [DOMPDF Wrapper for Laravel](https://github.com/barryvdh/laravel-dompdf)
- [ฟอนต์สารบรรณ รุ่นปรับปรุงใหม่ Sarabun New](https://www.f0nt.com/release/th-sarabun-new/)

License
-------

[](#license)

Laravel Dompdf Thai Font is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1941d ago

### Community

Maintainers

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

---

Top Contributors

[![supasin](https://avatars.githubusercontent.com/u/19340819?v=4)](https://github.com/supasin "supasin (1 commits)")

---

Tags

laravelpdfdompdffontthai

### Embed Badge

![Health badge](/badges/nelisys-laravel-dompdf-thai-font/health.svg)

```
[![Health](https://phpackages.com/badges/nelisys-laravel-dompdf-thai-font/health.svg)](https://phpackages.com/packages/nelisys-laravel-dompdf-thai-font)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M278](/packages/barryvdh-laravel-dompdf)

PHPackages © 2026

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