PHP code example of lukasss93 / laravel-larex

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

    

lukasss93 / laravel-larex example snippets


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

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

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