PHP code example of wan / raw-cookie

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

    

wan / raw-cookie example snippets


'providers' => [
    // ...
    \Wan\RawCookie\Providers\RawCookieServiceProvider::class,
]

protected $middlewareGroups = [
    'web' => [
       // ...
       \Wan\RawCookie\Middleware\AddQueuedRawCookiesToResponse::class,
   ],
    // ...
];