New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

deegitalbe/laravel-trustup-io-translations-loader

Load translations from our centralized translations service (translations.trustup.io) into a Laravel project
5,680
Install
composer require deegitalbe/laravel-trustup-io-translations-loader
Latest Version:v2.3.0
PHP:^8.2
Laravel:12
Older releases:8 · 9 · 10
License:MIT
Last Updated:Jun 24, 2026
Links: GitHub  ·  Packagist
Maintainer: fhusquinet

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

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Compatibility

Laravel Package
8.x / 9.x / 10.x 1.x
12.x 2.x

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

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

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. We publish all received postcards on our virtual postcard wall.

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

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

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

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

deegitalbe/laravel-trustup-io-authentification

Connect your Laravel project to our centralized authentication service

6,250 0
deegitalbe/laravel-trustup-io-notifier

This is my package laravel-trustup-io-notifier

4,595 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982

Version History

Version Released PHP Laravel License
v2.3.0 ^8.2 ^12.0 MIT
v2.2.0 ^8.2 ^12.0 MIT
v2.1.0 ^8.2 ^12.0 MIT
v2.0.1 ^8.2 ^12.0 MIT
v2.0.0 ^8.2 ^12.0 MIT
Pre-releases (2)
Version Released PHP Laravel License
v1.2.0.alpha ^8.0 ^8.0|^9.0|^10.0 MIT
v0.11.0-alpha.0 ^8.0 ^8.0|^9.0 MIT