PHP code example of ornio / l10n-laravel

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

    

ornio / l10n-laravel example snippets


L10N_TOKEN

L10N_URL

    'languages' => [
        'en', 'nb',
    ]
bash
php artisan vendor:publish --tag="l10n"
bash
php artisan l10n:fetch-translations