PHPackages                             thettler/inertia-localization - 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. thettler/inertia-localization

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

thettler/inertia-localization
=============================

This is my package inertia-localization

1362[5 PRs](https://github.com/thettler/inertia-localization/pulls)PHPCI passing

Since Jul 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/thettler/inertia-localization)[ Packagist](https://packagist.org/packages/thettler/inertia-localization)[ RSS](/packages/thettler-inertia-localization/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (8)Used By (0)

This is my package inertia-localization
=======================================

[](#this-is-my-package-inertia-localization)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ce7ef397f7b004defbaeb22f0afe8a0abd82ecb5a5729d34938bbb877392b5d8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74686574746c65722f696e65727469612d6c6f63616c697a6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thettler/inertia-localization)[![GitHub Tests Action Status](https://camo.githubusercontent.com/15c2d096b64f92479205167b44e9ecd22865d8a175a9df4ee1f3dd7d11e70819/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f74686574746c65722f696e65727469612d6c6f63616c697a6174696f6e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/thettler/inertia-localization/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d9e75fd6bf230bfc193965b3aafc5bee4c0fad2db73fa57ed05acadca74d2eac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f74686574746c65722f696e65727469612d6c6f63616c697a6174696f6e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/thettler/inertia-localization/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/dfdec1600e2c7d13c63dc605dfa49991898fd76f3b4c4d9beec23882d94636d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74686574746c65722f696e65727469612d6c6f63616c697a6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thettler/inertia-localization)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/aa71f3cdf5184e4e3afee492b958638208dae68f0bf571e74cd110ffe1302bc0/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f696e65727469612d6c6f63616c697a6174696f6e2e6a70673f743d31)](https://spatie.be/github-ad-click/inertia-localization)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require thettler/inertia-localization
```

You can publish the config file with:

```
php artisan vendor:publish --tag="inertia-localization-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="inertia-localization-views"
```

Usage
-----

[](#usage)

```
$inertiaLocalization = new Thettler\InertiaLocalization();
echo $inertiaLocalization->echoPhrase('Hello, Thettler!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Tobias Hettler](https://github.com/thettler)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance60

Regular maintenance activity

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 89.5% 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://www.gravatar.com/avatar/6caaa4ad5c531405e77f53cc9db5e523f267b45a45b3eefeb13560cccaf001aa?d=identicon)[thettler](/maintainers/thettler)

---

Top Contributors

[![thettler](https://avatars.githubusercontent.com/u/12132389?v=4)](https://github.com/thettler "thettler (51 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

### Embed Badge

![Health badge](/badges/thettler-inertia-localization/health.svg)

```
[![Health](https://phpackages.com/badges/thettler-inertia-localization/health.svg)](https://phpackages.com/packages/thettler-inertia-localization)
```

###  Alternatives

[php-translation/translator

Translator services

25224.8k5](/packages/php-translation-translator)[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1926.6k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

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