PHP code example of fidum / laravel-translation-faker
1. Go to this page and download the library: Download fidum/laravel-translation-faker 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/ */
fidum / laravel-translation-faker example snippets
bash
php artisan vendor:publish --tag="translation-faker-config"
sh
$ php artisan translation:fake da
INFO Translations successfully generated from 'en' to 'da'.
sh
$ php artisan translation:fake da --baseLocale=de
INFO Translations successfully generated from 'de' to 'da'.