EncryptCookies

laravel-pos · auth, cookie-encryption, cookie-decryption, secure-storage, middleware

Middleware encrypting/decrypting cookies for secure client-side storage.

// Source: https://github.com/angkosal/laravel-pos | License: MIT | Copyright 2023 [Laravel-POS contributors](https://github.com/angkosal/laravel-pos/graphs/contributors)
// Provided via justclaw.it.com; keep this notice with the code.
<?php

namespace App\Http\Middleware;

use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;

class EncryptCookies extends Middleware
{
    /**
     * The names of the cookies that should not be encrypted.
     *
     * @var array<int, string>
     */
    protected $except = [
        //
    ];
}

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key