PHPackages                             abcprintf/date-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. [Localization &amp; i18n](/categories/localization)
4. /
5. abcprintf/date-thai

ActiveLibrary[Localization &amp; i18n](/categories/localization)

abcprintf/date-thai
===================

This is package format date for thai language

v0.1.0(3y ago)19MITPHP

Since Sep 17Pushed 3y ago1 watchersCompare

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

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

dateThai function
=================

[](#datethai-function)

Show date in Thai and other languages.

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

[](#installation)

```
composer require abcprintf/date-thai
```

```
$dateThai = new DateThai("th");
$dateThai->setDate(date("Y-m-d"));
$x = $dateThai->longDetail();
// result : 17 ตุลาคม 2565

$dateThai = new DateThai("en");
$dateThai->setDate(date("Y-m-d"));
$x = $dateThai->longDetail();
// result : 17 October 2022

$dateThai = new DateThai("cn");
$dateThai->setDate(date("Y-m-d"));
$x = $dateThai->longDetail();
// result : 17 十月 2022
```

License
-------

[](#license)

The MIT License (MIT)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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

Unknown

Total

1

Last Release

1339d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d98cfe2dd9e07e77b99016df1040fcaad9c9336e174c67c1f95e41b5de6fdcc?d=identicon)[abcprintf](/maintainers/abcprintf)

---

Top Contributors

[![abcprintf](https://avatars.githubusercontent.com/u/8300694?v=4)](https://github.com/abcprintf "abcprintf (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/abcprintf-date-thai/health.svg)

```
[![Health](https://phpackages.com/badges/abcprintf-date-thai/health.svg)](https://phpackages.com/packages/abcprintf-date-thai)
```

###  Alternatives

[jenssegers/date

A date library to help you work with dates in different languages

1.8k11.2M80](/packages/jenssegers-date)[rakibhstu/number-to-bangla

A Laravel package for converting English numbers into Bangla digits, Bangla words, Bangla month names, and Bangla money format with an easy-to-use API.

8310.2k](/packages/rakibhstu-number-to-bangla)

PHPackages © 2026

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