Download the PHP package pod-point/laravel-javascript-lang without Composer
On this page you can find all versions of the php package pod-point/laravel-javascript-lang. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pod-point/laravel-javascript-lang
More information about pod-point/laravel-javascript-lang
Files in pod-point/laravel-javascript-lang
Download pod-point/laravel-javascript-lang
More information about pod-point/laravel-javascript-lang
Files in pod-point/laravel-javascript-lang
Vendor pod-point
Package laravel-javascript-lang
Short Description Laravel package that exposes translations and routes to JavaScript
License MIT
Package laravel-javascript-lang
Short Description Laravel package that exposes translations and routes to JavaScript
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-javascript-lang
Laravel JavaScript Lang
A Laravel package that exposes translations to JavaScript.
Installation
Require the package in composer:
Add the service provider to your config/app.php
providers array:
Then finally, publish the config files:
Usage
Now the varable $jslang
is available in your view. We recommend attaching it to a data tag on your body element:
There is a provided JavaScript module with a helper method you can use to retrieve the translations:
Or you can get the data yourself:
All versions of laravel-javascript-lang with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1||^8.1||^8.2
ext-json Version *
illuminate/contracts Version ^6.20||^7.30||^8.83||^9.52||^10.3
illuminate/support Version ^6.20||^7.30||^8.83||^9.52||^10.3
ext-json Version *
illuminate/contracts Version ^6.20||^7.30||^8.83||^9.52||^10.3
illuminate/support Version ^6.20||^7.30||^8.83||^9.52||^10.3
The package pod-point/laravel-javascript-lang contains the following files
Loading the files please wait ....