New

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

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...

655,942,320 9,702
laravel/framework

The Laravel Framework.

617,629,957 34,997
laravel/tinker

Powerful REPL for the Laravel framework.

524,145,802 7,444
laravel/serializable-closure

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

442,489,569 607
nunomaduro/collision

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

418,503,470 4,663

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