PHP code example of vi-kon / laravel-support

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

    

vi-kon / laravel-support example snippets


// to providers array
\ViKon\Support\SupportServiceProvider::class,

// to $middleware array
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
// Add after \Illuminate\View\Middleware\ShareErrorsFromSession::class,
\ViKon\Support\Middleware\View\ShareSuccessesFromSession::class,