PHP code example of brnysn / laravel-translation

1. Go to this page and download the library: Download brnysn/laravel-translation 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/ */

    

brnysn / laravel-translation example snippets


'driver' => 'database'

translation_methods [array]

scan_paths [array]
shell
php artisan migrate
shell
php artisan translation:sync-translations