PHP code example of appointer / laravel-vue-i18n-bridge
1. Go to this page and download the library: Download appointer/laravel-vue-i18n-bridge 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/ */
appointer / laravel-vue-i18n-bridge example snippets
// config/app.php
'providers' => [
...
\Appointer\VueTranslation\VueTranslationServiceProvider::class,
];
// app/Providers/RouteServiceProvider.php
public function boot()
{
parent::boot();
Appointer\VueTranslation\VueTranslation::routes();
}
bash
php artisan vendor:publish --provider="Appointer\VueTranslation\VueTranslationServiceProvider::class" --tag="config"