PHP code example of h1ch4m / lang-manager

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

    

h1ch4m / lang-manager example snippets


'providers' => [
    // Other Service Providers...

    H1ch4m\LangManager\LangManagerServiceProvider::class,
],
html
<h5>{{ __('Your sentence here') }}</h5>
<h5>{{ __('Your sentence :here', ['here' => 'sentence value']) }}</h5>
bash
php artisan lang-manager:start