PHPackages                             pascalc/tinyl10n - 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. pascalc/tinyl10n

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

pascalc/tinyl10n
================

Easy locale detection and automatic fallback to the best locale possible, other l10n niceties

0.7(11y ago)55.7k↓32.9%(MPL 2 or GPL 2.0 or LGPL 2.1)PHPPHP &gt;=5.3.0

Since Dec 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pascalchevrel/tinyl10n)[ Packagist](https://packagist.org/packages/pascalc/tinyl10n)[ Docs](https://github.com/pascalchevrel/tinyl10n)[ RSS](/packages/pascalc-tinyl10n/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

```
This is a small PHP library that allows you to do locale detection based on HTTP accept-lang headers.

Its main job is to return the best locale available on your site compared to what your visitors' browsers declare they accept.

It needs PHP >=5.4

Licence: MPL 2/GPL 2.0/LGPL 2.1
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~770 days

Total

2

Last Release

4137d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5bae996500da5bee93fa0a9adc1aeae4d9fba70099a79a834cd2a626b7b4305f?d=identicon)[pascalc](/maintainers/pascalc)

---

Top Contributors

[![pascalchevrel](https://avatars.githubusercontent.com/u/454375?v=4)](https://github.com/pascalchevrel "pascalchevrel (8 commits)")

---

Tags

l10nlocale detection

### Embed Badge

![Health badge](/badges/pascalc-tinyl10n/health.svg)

```
[![Health](https://phpackages.com/badges/pascalc-tinyl10n/health.svg)](https://phpackages.com/packages/pascalc-tinyl10n)
```

###  Alternatives

[moment/moment

Parse, validate, manipulate, and display dates in JavaScript.

48.1k2.1M37](/packages/moment-moment)[symfony/intl

Provides access to the localization data of the ICU library

2.6k199.8M1.1k](/packages/symfony-intl)[timrwood/moment

Parse, validate, manipulate, and display dates in JavaScript.

48.0k17.2k](/packages/timrwood-moment)[gettext/languages

gettext languages with plural rules

7530.3M11](/packages/gettext-languages)[aplus/language

Aplus Framework Language Library

2351.7M15](/packages/aplus-language)[punic/punic

PHP-Unicode CLDR

1542.9M29](/packages/punic-punic)

PHPackages © 2026

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