PHPackages                             deegitalbe/laravel-trustup-io-translations-loader - 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. deegitalbe/laravel-trustup-io-translations-loader

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

deegitalbe/laravel-trustup-io-translations-loader
=================================================

Load translations from our centralized translations service (translations.trustup.io) into a Laravel project

v2.3.0(1w ago)04.8k↓73.5%[1 PRs](https://github.com/deegitalbe/laravel-trustup-io-translations-loader/pulls)MITPHPPHP ^8.2CI passing

Since May 19Pushed 1w ago3 watchersCompare

[ Source](https://github.com/deegitalbe/laravel-trustup-io-translations-loader)[ Packagist](https://packagist.org/packages/deegitalbe/laravel-trustup-io-translations-loader)[ Docs](https://github.com/deegitalbe/laravel-trustup-io-translations-loader)[ RSS](/packages/deegitalbe-laravel-trustup-io-translations-loader/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (14)Versions (30)Used By (0)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

Load translations from our centralized translations service (translations.trustup.io) into a Laravel project
============================================================================================================

[](#load-translations-from-our-centralized-translations-service-translationstrustupio-into-a-laravel-project)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b5d3e28e256ce02599777dd2e4ddd9e3751bb4360a9c3c75eb20be5f8d5be41b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646565676974616c62652f6c61726176656c2d747275737475702d696f2d7472616e736c6174696f6e732d6c6f616465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/deegitalbe/laravel-trustup-io-translations-loader)[![GitHub Tests Action Status](https://camo.githubusercontent.com/01b6d5e4ebc5fda169a9871835a922b1e3109ee95e104e8f382d2eaf3e307436/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f646565676974616c62652f6c61726176656c2d747275737475702d696f2d7472616e736c6174696f6e732d6c6f616465722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/deegitalbe/laravel-trustup-io-translations-loader/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/009632ac110a3f566a046fae6b2479ea8ee12a9cef3106ab268c19238b372765/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f646565676974616c62652f6c61726176656c2d747275737475702d696f2d7472616e736c6174696f6e732d6c6f616465722f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/deegitalbe/laravel-trustup-io-translations-loader/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/b078c8f08dc106e860c13737187fc6b38fa932358aaf5f74a88567aae10120a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646565676974616c62652f6c61726176656c2d747275737475702d696f2d7472616e736c6174696f6e732d6c6f616465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/deegitalbe/laravel-trustup-io-translations-loader)

Compatibility
-------------

[](#compatibility)

LaravelPackage8.x / 9.x / 10.x1.x12.x2.xThis 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/40438a0130981b14a99e2c33ede18b7e7c894b1675fcf16f7f79588d50fd0dc1/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d747275737475702d696f2d7472616e736c6174696f6e732d6c6f616465722e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-trustup-io-translations-loader)

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 deegitalbe/laravel-trustup-io-translations-loader
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-trustup-io-translations-loader-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-trustup-io-translations-loader-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-trustup-io-translations-loader-views"
```

Usage
-----

[](#usage)

```
$laravelTrustupIoTranslationsLoader = new Deegitalbe\LaravelTrustupIoTranslationsLoader();
echo $laravelTrustupIoTranslationsLoader->echoPhrase('Hello, Deegitalbe!');
```

### Locale format (ISO applications)

[](#locale-format-iso-applications)

TrustUp.io keys translations by country-language (`be-fr`). If your app uses ISO language-country locales (`fr-BE`), enable the conversion:

```
TRUSTUP_IO_TRANSLATIONS_LOCALE_FORMAT=iso
```

The loader converts the app locale to the TrustUp.io locale at lookup time (it only changes the lookup key, never the cached bundle). Default `service` keeps the locale as-is.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Florian Husquinet](https://github.com/deegitalbe)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance98

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~30 days

Total

24

Last Release

10d ago

Major Versions

v0.11.0-alpha.0 → v1.0.02023-08-15

v1.4.1 → v2.0.02026-02-23

PHP version history (3 changes)v0.0.1PHP ^8.1

v0.0.2PHP ^8.0

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/b275f513a587efd768abe8becd7269de9b0eb869feb75b631131edc2cd6e3052?d=identicon)[fhusquinet](/maintainers/fhusquinet)

---

Top Contributors

[![henrotaym](https://avatars.githubusercontent.com/u/24230736?v=4)](https://github.com/henrotaym "henrotaym (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")[![romainvausetrustup](https://avatars.githubusercontent.com/u/107386878?v=4)](https://github.com/romainvausetrustup "romainvausetrustup (1 commits)")

---

Tags

laraveldeegitalbelaravel-trustup-io-translations-loader

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/deegitalbe-laravel-trustup-io-translations-loader/health.svg)

```
[![Health](https://phpackages.com/badges/deegitalbe-laravel-trustup-io-translations-loader/health.svg)](https://phpackages.com/packages/deegitalbe-laravel-trustup-io-translations-loader)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[elegantly/laravel-translator

All on one translations management for Laravel

6333.1k](/packages/elegantly-laravel-translator)

PHPackages © 2026

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