| Package Data | |
|---|---|
| Maintainer Username: | MordiSacks |
| Package Create Date: | 2016-06-12 |
| Package Last Update: | 2020-05-24 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-06 15:17:24 |
| Package Statistics | |
|---|---|
| Total Downloads: | 25 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 3 |
| Total Watchers: | 0 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
This package is a Laravel wrapper for I18n
composer require mordisacks/laravel-i18n
After updating composer, add the service provider to the providers array in config/app.php
MordiSacks\LaravelI18n\I18nServiceProvider::class,
Set your default locale in app.php config
This package overrides blade @lang
So the following will work
<h1>@lang('Hello :name', 'default', ['name' => 'Mordi'])</h1>