PHP code example of kevinsmith / laravel-samesite-none-compat

1. Go to this page and download the library: Download kevinsmith/laravel-samesite-none-compat 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/ */

    

kevinsmith / laravel-samesite-none-compat example snippets


protected $middleware = [
    \KevinSmith\SameSiteNoneCompat\Laravel\SameSiteNoneMiddleware::class,
    // all other middleware...
];