PHPackages                             decodelabs/cosmos - 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. decodelabs/cosmos

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

decodelabs/cosmos
=================

Internationalisation made simple

v0.3.2(7mo ago)020.6k2MITPHPPHP ^8.4CI passing

Since Nov 28Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/decodelabs/cosmos)[ Packagist](https://packagist.org/packages/decodelabs/cosmos)[ RSS](/packages/decodelabs-cosmos/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (15)Used By (2)

Cosmos
======

[](#cosmos)

[![PHP from Packagist](https://camo.githubusercontent.com/83c15538ce35041c42127df770f6c67ed87807cdaaeaa157a544f80393e377ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6465636f64656c6162732f636f736d6f733f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/cosmos)[![Latest Version](https://camo.githubusercontent.com/02d2a2a0b6ffb6588876c8b42e535ff6a9106597395277596ad6e70145c9fe17/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465636f64656c6162732f636f736d6f732e7376673f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/cosmos)[![Total Downloads](https://camo.githubusercontent.com/490abc826558049b483d4a5a35032ba0edd95d1baa6058f4d58581a9d09f7c3b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6465636f64656c6162732f636f736d6f732e7376673f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/cosmos)[![GitHub Workflow Status](https://camo.githubusercontent.com/d87f1c7ed9d6e3cdb5e031361b41bc384c8122fb694bd49468cad33d8b194f8e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6465636f64656c6162732f636f736d6f732f696e746567726174652e796d6c3f6272616e63683d646576656c6f70)](https://github.com/decodelabs/cosmos/actions/workflows/integrate.yml)[![PHPStan](https://camo.githubusercontent.com/e25c14ce011edabdd0fbd2e10415b41cc5d66ed11ef3e5b7edd074c5bdd35a2d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d3434434331312e7376673f6c6f6e6743616368653d74727565267374796c653d666c6174)](https://github.com/phpstan/phpstan)[![License](https://camo.githubusercontent.com/124bd72349f0d783ccbb7372c6d6b64db45d44719e38d840abc870c99672971a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6465636f64656c6162732f636f736d6f733f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/cosmos)

### Internationalisation and localisation made simple

[](#internationalisation-and-localisation-made-simple)

Cosmos provides a simple interface to handle typical i18n tasks in your PHP app.

---

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

[](#installation)

This package requires PHP 8.4 or higher.

Install via Composer:

```
composer require decodelabs/cosmos
```

Usage
-----

[](#usage)

Coming soon...

Licensing
---------

[](#licensing)

Cosmos is licensed under the proprietary License. See [LICENSE](./LICENSE) for the full license text.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance67

Regular maintenance activity

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 98.7% 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 ~86 days

Recently: every ~29 days

Total

13

Last Release

227d ago

PHP version history (3 changes)v0.1.0PHP ^8.0

v0.1.4PHP ^8.1

v0.2.1PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a241d64d12b3b5ee94197862ec1ec30b82ed2efa34a0cd7f4c3565a021daddd?d=identicon)[betterthanclay](/maintainers/betterthanclay)

---

Top Contributors

[![betterthanclay](https://avatars.githubusercontent.com/u/1273586?v=4)](https://github.com/betterthanclay "betterthanclay (75 commits)")[![danmillar](https://avatars.githubusercontent.com/u/743695?v=4)](https://github.com/danmillar "danmillar (1 commits)")

---

Tags

i18nlocalephp

### Embed Badge

![Health badge](/badges/decodelabs-cosmos/health.svg)

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

###  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)
