chaevnicher
7 months ago

Cookie to response

Posted 7 months ago by chaevnicher

Hello, I requested illuminate/cookie,

$app->singleton('cookie', function () use ($app) {
    return $app->loadComponent('session', 'Illuminate\Cookie\CookieServiceProvider', 'cookie');
});

$app->bind('Illuminate\Contracts\Cookie\QueueingFactory', 'cookie');

...
$app->middleware([
    'Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse'
]);

but not getting Cookie from request to response

Please sign in or create an account to participate in this conversation.