Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-translations maintained by mantax559

Description
Laravel Translations
Author
mantax559
Last update
2026/04/25 11:26 (dev-development)
License
Links
Downloads
118

Comments
comments powered by Disqus

GitHub release (latest by date) GitHub release (latest SemVer including pre-releases) Packagist PHP from Packagist

Laravel Translations

Installation & Setup

You can install the package via composer:

composer require mantax559/laravel-translations

The package will automatically register its service provider.

Customisation

Routes

To allow the user to change the language, add this route:

Route::get('language/{locale}', [\Mantax559\LaravelTranslations\Controllers\LanguageController::class, 'change'])->name('language.change');

Tests

You can run tests with the command:

vendor/bin/phpunit

License

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