PHP code example of edrmtz01 / laravel-jet-spanish

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

    

edrmtz01 / laravel-jet-spanish example snippets


    /*
    |--------------------------------------------------------------------------
    | Application Locale Configuration
    |--------------------------------------------------------------------------
    |
    | The application locale determines the default locale that will be used
    | by the translation service provider. You are free to set this value
    | to any of the locales which will be supported by the application.
    |
    */

   // 'locale' => 'en',  Configuración por defecto
    
    'locale' => 'es', // Cambiamos el idioma por defecto a español
bash
php artisan laravel-jet-spanish:install
bash
php artisan vendor:publish --tag=lang
bash
php artisan config:clear