PHP code example of cvaize / laravel-translation-manager
1. Go to this page and download the library: Download cvaize/laravel-translation-manager library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cvaize / laravel-translation-manager example snippets
// config/app.php
'providers' => [
//...
Vsch\TranslationManager\TranslationServiceProvider::class, // 1!!!
Vsch\TranslationManager\ManagerServiceProvider::class, // 2!!!
],
bash
$ php artisan vendor:publish --provider="Vsch\TranslationManager\ManagerServiceProvider" --tag=public --force
$ php artisan vendor:publish --provider="Vsch\TranslationManager\ManagerServiceProvider" --tag=migrations
$ php artisan migrate