Download the PHP package dinhdjj/laravel-js-localization without Composer
On this page you can find all versions of the php package dinhdjj/laravel-js-localization. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dinhdjj/laravel-js-localization
More information about dinhdjj/laravel-js-localization
Files in dinhdjj/laravel-js-localization
Package laravel-js-localization
Short Description Give ability to uses laravel's `trans` & `trans_choice` function in js
License MIT
Homepage https://github.com/dinhdjj/js-localization
Informations about the package laravel-js-localization
Give ability to uses laravel's trans
function in js
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
Usage
This package minify step to usage. You just add directive @jslocalization
to blade layout.
And you must remember that when you update this package or update lang files. You should run below command to make it effect
If you use typescript below lines will help you
Finally usage in real life
Testing
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
- dinhdjj
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-js-localization with dependencies
friendsofphp/php-cs-fixer Version ^3.8
illuminate/contracts Version ^9.0
spatie/laravel-package-tools Version ^1.9.2