PHP code example of lkovace18 / laravel-presentation-mode

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

    

lkovace18 / laravel-presentation-mode example snippets


'providers' => [
    // Other service providers...

    lKovace18\PresentationMode\PresentationModeServiceProvider::class,

],

     /**
     * url of under development page
     */
    'under_development_url' => <your_in_development_url>,


'PresentationMode' => lKovace18\PresentationMode\Facades\PresentationMode::class,

bash
php artisan vendor:publish --provider="lKovace18\PresentationMode\PresentationModeServiceProvider" --tag="config"
bash
php artisan vendor:publish --provider="lKovace18\PresentationMode\PresentationModeServiceProvider" --tag="views"
bash
php artisan vendor:publish --provider="lKovace18\PresentationMode\PresentationModeServiceProvider" --tag="translations"