PHP code example of kerigard / laravel-lang-ru

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

    

kerigard / laravel-lang-ru example snippets

bash
php artisan vendor:publish --provider="Kerigard\LaravelLangRu\LangRuServiceProvider"
bash
php artisan lang:translate
bash
php artisan lang:translate --source=en --target=ru --filter=en/validation.php --filter=vendor/my-package