PHP code example of baleethai / filament-locale

1. Go to this page and download the library: Download baleethai/filament-locale 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/ */

    

baleethai / filament-locale example snippets


return [
];

$filament-locale = new Baleethai\FilamentLocale();
echo $filament-locale->echoPhrase('Hello, Baleethai!');
bash
php artisan vendor:publish --tag="filament-locale-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="filament-locale-config"
bash
php artisan vendor:publish --tag="filament-locale-views"