PHP code example of alerrandrorm / laravel-lang
1. Go to this page and download the library: Download alerrandrorm/laravel-lang 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/ */
alerrandrorm / laravel-lang example snippets
shell
$ php artisan vendor:publish --tag=laravel-lang
Open file config/app.php
Search and change 'locale' => 'pt_BR',