laravelway/jstranslate

Laravel package for translations on frontend
10,595
Install
composer require laravelway/jstranslate
Latest Version:2.2.1
PHP:^8.2
Laravel:10 · 11
License:MIT
Last Updated:Jun 22, 2026
Links: GitHub  ·  Packagist
Maintainer: amanukian

Laravel package for translations on frontend

Installation

You can install the package via composer:

composer require laravelway/jstranslate

You can publish the config file with:

php artisan vendor:publish --tag="jstranslate-config"

This is the contents of the published config file:

return [
    'files' => [
    ],

    'translate_script_path' => 'assets/translate.js',
    'translations_path' => 'assets/translations.{lang}.js',
];

Build Script

npm run build

Testing

composer test

Related Packages

doctrine/dbal

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

644,549,754 9,698
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released PHP Laravel License
2.2.1 ^8.2 ^10.0||^11.0 MIT
2.2.0 ^8.2 ^10.0||^11.0 MIT
2.1.4 ^8.2 ^10.0||^11.0 MIT
2.1.3 ^8.2 ^10.0||^11.0 MIT
2.1.2 ^8.2 ^10.0||^11.0 MIT