PHP code example of amendozaaguiar / laravel-lat-es
1. Go to this page and download the library: Download amendozaaguiar/laravel-lat-es 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/ */
amendozaaguiar / laravel-lat-es example snippets
'providers' => [
// ...
Amendozaaguiar\LaravelLatEs\LaravelLatEsServiceProvider::class,
];
es/auth.php
es/pagination.php
es/passwords.php
es/validation.php
bash
php artisan vendor:publish --tag=lang
bash
php artisan laravellates:install
// Inglés americano
'locale' => 'en_US'
// Portugués de Portugal
'locale' => 'pt_PT'