PHP code example of ldavidsp / spanish

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

    

ldavidsp / spanish example snippets


'providers' => [
    // ...
    Laraveles\Spanish\SpanishServiceProvider::class,
];

es.json
es/auth.php
es/passwords.php
es/pagination.php
es/validation.php
bash
php artisan vendor:publish --tag=lang
bash
php artisan laraveles:install-lang

// Inglés americano
'locale' => 'en_US'
// Portugués de Portugal
'locale' => 'pt_PT'