PHP code example of goodmagma / laravel-translations

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

    

goodmagma / laravel-translations example snippets

bash
php artisan vendor:publish --tag="translations-config"
bash
php artisan translations:export <lang>
bash
php artisan translations:export es
php artisan translations:export es,bg,de
bash
php artisan translations:translate <lang>
bash
php artisan translations:translate es
php artisan translations:translate es,bg,de