PHP code example of kevinsimard / laravel-cookieless-session
1. Go to this page and download the library: Download kevinsimard/laravel-cookieless-session 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/ */
kevinsimard / laravel-cookieless-session example snippets
namespace App\Http;
use Illuminate\Foundation\Http;
class Kernel extends Http\Kernel
{
/**
* @var array
*/
protected $middleware = [
//"Illuminate\Session\Middleware\StartSession",
"Kevinsimard\CookielessSession\Middleware\StartSession",
...
];
...
"providers" => [
...
//"Illuminate\Session\SessionServiceProvider",
"Kevinsimard\CookielessSession\Providers\SessionServiceProvider",
...
],