PHP code example of jorisvanw / laravel-larex

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

    

jorisvanw / laravel-larex example snippets


'providers' => [
    Lukasss93\Larex\LarexServiceProvider::class
];

   //project-root/resources/lang/en/app.php
   
   
   
   return [
       'hello' => 'Hello',
       'list' => [
           'developers' => 'Developers',
           'teachers' => 'Teachers',
       ]
   ];
   

   //project-root/resources/lang/it/app.php
   
   
   
   return [
       'hello' => 'Ciao',
       'list' => [
           'developers' => 'Sviluppatori',
           'teachers' => 'Insegnanti',
       ]
   ];
   
bash
php artisan vendor:publish --provider="Lukasss93\Larex\LarexServiceProvider" --tag="larex-config"