A simple Package for multi-lingual Models in Laravel 5.
This package is a work in progress, please use with care and feel free to report any issues or ideas you may have!
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.
Require the package from your composer.json file
and run $ composer update or both in one with $ composer require lecturize/laravel-translatable.
$ composer update
$ composer require lecturize/laravel-translatable
Next register the service provider and (optional) facade to your config/app.php file
'providers' => [
// Illuminate Providers ...
// App Providers ...
$ 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:
$ php artisan migrate
Licensed under MIT license.
Handcrafted with love by Alexander Manfred Poellmann in Vienna & Rome.