PHP code example of czim / laravel-localization-route-cache
1. Go to this page and download the library: Download czim/laravel-localization-route-cache 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/ */
czim / laravel-localization-route-cache example snippets
php
Mcamara\LaravelLocalization\LaravelLocalizationServiceProvider::class,
Czim\LaravelLocalizationRouteCache\LaravelLocalizationServiceProvider::class,
bash
php artisan route:trans:cache
bash
php artisan route:trans:list {locale}
# for instance:
php artisan route:trans:list en
bash
php artisan route:trans:clear