PHP code example of exolnet / laravel-translation-editor

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

    

exolnet / laravel-translation-editor example snippets

html
<h1>@te('home.title')</h1>

<!-- OR -->

<h1>{{ te('home.title') }}</h1>
 bash
php artisan i18n:detect