2017 © Pedro Peláez
 

library laravel-translatable

A simple Package for multi-lingual Models in Laravel 5.

image

lecturize/laravel-translatable

A simple Package for multi-lingual Models in Laravel 5.

  • Tuesday, August 22, 2017
  • by AlexanderPoellmann
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,332 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

Latest Stable Version Total Downloads License, (*1)

Laravel Translatable

A simple Package for multi-lingual Models in Laravel 5., (*2)

Important Notice

This package is a work in progress, please use with care and feel free to report any issues or ideas you may have!, (*3)

We've transferred this package to a new owner and therefor updated the namespaces to Lecturize\Translatable. The config file is now config/lecturize.php., (*4)

Installation

Require the package from your composer.json file, (*5)

"require": {
    "lecturize/laravel-translatable": "dev-master"
}

and run $ composer update or both in one with $ composer require lecturize/laravel-translatable., (*6)

Next register the service provider and (optional) facade to your config/app.php file, (*7)

'providers' => [
    // Illuminate Providers ...
    // App Providers ...
    Lecturize\Translatable\TranslatableServiceProvider::class
];

Configuration & Migration

$ php artisan vendor:publish --provider="Lecturize\Translatable\TranslatableServiceProvider"

This will create a config/lecturize.php and a migration file. In the config file you can customize the table names, finally you'll have to run migration like so:, (*8)

$ php artisan migrate

License

Licensed under MIT license., (*9)

Author

Handcrafted with love by Alexander Manfred Poellmann in Vienna & Rome., (*10)

The Versions

22/08 2017

dev-master

9999999-dev https://github.com/Lecturize/Laravel-Translatable

A simple Package for multi-lingual Models in Laravel 5.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel language translation translatable localization multilingual