2017 © Pedro Peláez
 

library laravel-i18n

I18n Wrapper for Laravel 5.

image

mordisacks/laravel-i18n

I18n Wrapper for Laravel 5.

  • Wednesday, March 8, 2017
  • by MordiSacks
  • Repository
  • 1 Watchers
  • 3 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

I18n

This package is a Laravel wrapper for I18n, (*1)

Installation

composer require mordisacks/laravel-i18n

After updating composer, add the service provider to the providers array in config/app.php, (*2)

MordiSacks\LaravelI18n\I18nServiceProvider::class,

Usage

Set your default locale in app.php config, (*3)

This package overrides blade @lang, (*4)

So the following will work, (*5)

<h1>@lang('Hello :name', 'default', ['name' => 'Mordi'])</h1>

Changelog 2.1.0

  • Updated to laravel 5.4

The Versions

08/03 2017

dev-master

9999999-dev

I18n Wrapper for Laravel 5.

  Sources   Download

MIT

The Requires

 

by Mordi Sacks

laravel i18n laravel localisation

08/03 2017

2.1.0

2.1.0.0

I18n Wrapper for Laravel 5.

  Sources   Download

MIT

The Requires

 

by Mordi Sacks

laravel i18n laravel localisation

14/06 2016

2.0.0

2.0.0.0

I18n Wrapper for Laravel 5.

  Sources   Download

MIT

The Requires

 

by Mordi Sacks

laravel i18n laravel localisation