PHPackages                             mortimer/i18n-helpers - 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. mortimer/i18n-helpers

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

mortimer/i18n-helpers
=====================

Laravel package providing translation helpers for objects like exceptions, eloquent models and attributes

01PHP

Since Jan 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/phurni/mortimer-i18n-helpers)[ Packagist](https://packagist.org/packages/mortimer/i18n-helpers)[ RSS](/packages/mortimer-i18n-helpers/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

I18n Helpers
============

[](#i18n-helpers)

Laravel package providing translations and localizations helpers.

Copyright (C) 2023 Pascal Hurni &lt;&gt;

Licensed under the [MIT License](http://opensource.org/licenses/MIT).

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

[](#installation)

Add the package to your composer file:

```
composer require mortimer/i18n-helpers

```

You may import examples of translation files in your app with:

```
artisan vendor:publish --provider='Mortimer\I18nHelpers\ServiceProvider'

```

Helpers
-------

[](#helpers)

### `trans_exception`

[](#trans_exception)

### `trans_model`

[](#trans_model)

### Carbon macro `l`

[](#carbon-macro-l)

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/95982?v=4)[Pascal Hurni](/maintainers/phurni)[@phurni](https://github.com/phurni)

---

Top Contributors

[![phurni](https://avatars.githubusercontent.com/u/95982?v=4)](https://github.com/phurni "phurni (6 commits)")

### Embed Badge

![Health badge](/badges/mortimer-i18n-helpers/health.svg)

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

###  Alternatives

[smarty-gettext/smarty-gettext

Gettext plugin enabling internationalization in Smarty Package files

752.5M8](/packages/smarty-gettext-smarty-gettext)[devaslanphp/auto-translate

Auto generate translation JSON files

6627.3k](/packages/devaslanphp-auto-translate)

PHPackages © 2026

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