2017 © Pedro Peláez
 

library laravel-database-localization

Use a database source instead of files for localization in Laravel

image

neoxia/laravel-database-localization

Use a database source instead of files for localization in Laravel

  • Thursday, January 25, 2018
  • by thomasruiz
  • Repository
  • 38 Watchers
  • 2 Stars
  • 1,099 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 15 % Grown

The README.md

Latest Stable Version, (*1)

Laravel Database Localization

This package allows the storage of Laravel translations in a database instead of files. It is not opinionated about how you store your data (any database, any schema) or how you edit this data. It only overwrite the default translation loading by using a Laravel model that can be specified in the configuration., (*2)

Installation

Require this package with composer using the following command:, (*3)

composer require neoxia/laravel-database-localization

Go to config/app.php, remove the original service provider, (*4)

Illuminate\Translation\TranslationServiceProvider::class,

And replace it by this one., (*5)

Neoxia\DatabaseLocalization\DatabaseTranslationServiceProvider::class,

Configuration

You can publish a default config file by runnning the artisan command php artisan vendor:publish., (*6)

Update the configuration with you model class name. This model has to implement the Neoxia\DatabaseLocalization\Translatable interface., (*7)

The Versions

25/01 2018

dev-master

9999999-dev

Use a database source instead of files for localization in Laravel

  Sources   Download

MIT

The Requires

 

25/01 2018

v1.1.0

1.1.0.0

Use a database source instead of files for localization in Laravel

  Sources   Download

MIT

The Requires

 

12/06 2017

v1.0.0

1.0.0.0

Use a database source instead of files for localization in Laravel

  Sources   Download

MIT

The Requires