PHPackages                             microparts/i18n-php - 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. microparts/i18n-php

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

microparts/i18n-php
===================

Pagination format for TeamcIO standards.

1.0.1(7y ago)1117GPL-3.0-onlyPHP

Since Nov 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/microparts/i18n-php)[ Packagist](https://packagist.org/packages/microparts/i18n-php)[ RSS](/packages/microparts-i18n-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

This package deprecated and abandoned.
--------------------------------------

[](#this-package-deprecated-and-abandoned)

I18n For PHP
============

[](#i18n-for-php)

[![CircleCI](https://camo.githubusercontent.com/2356265fd4a03b8cdaa2fb82354126fde4a08cb9ec1eab83db552484f6da5691/68747470733a2f2f636972636c6563692e636f6d2f67682f6d6963726f70617274732f6931386e2d7068702e7376673f7374796c653d737667)](https://circleci.com/gh/microparts/i18n-php)[![codecov](https://camo.githubusercontent.com/9a38e37a1fe8c21851c6f34b9e20da301f13e342a5837ed02bac6cd48514d4d7/68747470733a2f2f636f6465636f762e696f2f67682f6d6963726f70617274732f6931386e2d7068702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/microparts/i18n-php)

A small instrument for help us use internalization company standard. Have a hard dependency from [configuration package](https://github.com/microparts/configuration-php).

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

[](#installation)

```
composer install microparts/i18n-php
```

Usage
-----

[](#usage)

Basic:

```
$manager = new Manager($conf); // $conf is a our default configuration module
$i18n = $manager->load();

$i18n->getDisplayLang();
$i18n->isTranslateList();
$i18n->getFallbackLang();
$i18n->getSecondLang();
```

With headers, but headers from PSR `MessageInterface`:

```
$manager = new Manager($conf); // $conf is a our default configuration module
$i18n = $manager->withMessage($request)->load();

$i18n->getDisplayLang();
$i18n->isTranslateList();
$i18n->getFallbackLang();
$i18n->getSecondLang();
```

With headers, but headers from other source:

```
$manager = new Manager($conf); // $conf is a our default configuration module
$i18n = $manager->withHeaders($headers)->load(); // where $headers is a key => value array of headers

$i18n->getDisplayLang();
$i18n->isTranslateList();
$i18n->getFallbackLang();
$i18n->getSecondLang();
```

Depends
-------

[](#depends)

- &gt;= PHP 7.2
- Composer for install package

License
-------

[](#license)

GNU GPL v3

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~169 days

Total

2

Last Release

2572d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/35d8eff4a3e66b58f3e2af56fe948035469de1e19ac29c532d65c681955bbd18?d=identicon)[Roquie](/maintainers/Roquie)

---

Top Contributors

[![roquie](https://avatars.githubusercontent.com/u/3214290?v=4)](https://github.com/roquie "roquie (9 commits)")

---

Tags

i18nmicroservicephp7

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/microparts-i18n-php/health.svg)

```
[![Health](https://phpackages.com/badges/microparts-i18n-php/health.svg)](https://phpackages.com/packages/microparts-i18n-php)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[boronczyk/localization-middleware

PSR-15 middleware to assist primarily with language-based content negotiation and various other localization tasks.

2665.3k](/packages/boronczyk-localization-middleware)[php-heroku-client/php-heroku-client

A PHP client for the Heroku Platform API

24404.8k4](/packages/php-heroku-client-php-heroku-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[evoweb/ew-llxml2xliff

Convert locallang.xml/.php files to .xlf

1045.7k1](/packages/evoweb-ew-llxml2xliff)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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