Laravel Translations in Javascript.
Via Composer
$ composer require fegerer/langtojs
php artisan vendor:publish --provider Fegerer\LangToJs\LangToJsServiceProvider
Edit langtojs.php
{!! LangToJs::scripts() !!}
Please see the changelog for more information on what has changed recently.
$ composer test
If you discover any security related issues, please email author email instead of using the issue tracker.
license. Please see the license file for more information.