cipherpols/laravel-translation

In-database Translator for Laravel

Maintainers

Package info

github.com/cipherpols/laravel-translation

pkg:composer/cipherpols/laravel-translation

Statistics

Installs: 224

Dependents: 0

Suggesters: 0

Stars: 8

Open Issues: 0

dev-master 2017-05-05 08:44 UTC

This package is not auto-updated.

Last update: 2026-03-15 12:18:30 UTC


README

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