cipherpols / laravel-translation by tuandm

In-database Translator for Laravel
224
8
1
Package Data
Maintainer Username: tuandm
Maintainer Contact: duongthaso@gmail.com (Tuan Duong)
Package Create Date: 2017-04-22
Package Last Update: 2017-05-05
Language: PHP
License: MIT
Last Refreshed: 2024-11-23 03:23:42
Package Statistics
Total Downloads: 224
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 8
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Localization from a database

This package is used as an in-database replacement for the default TranslationServiceProvider. Keys will be added to the database automatically. Fallback translating is supported. It's easy to build a GUI to manage all translation strings

Installation

Require this package with composer:

composer require cipherpols/laravel-translation

Add new Translation ServiceProvider to config/app.php

\CipherPols\Translation\ServiceProvider::class,

Migrations

php artisan vendor:publish --provider="CipherPols\Translation\ServiceProvider" --tag="migrations" 

and afterwards run your migrations:

php artisan migrate