定制 dogado/laravel-cookie-manager 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dogado/laravel-cookie-manager

最新稳定版本:1.2.0

Composer 安装命令:

composer require dogado/laravel-cookie-manager

包简介

cookie manager library with different capabilities to modify cookies

README 文档

README

phpunit Coverage Status Total Downloads Latest Stable Version Latest Unstable Version License

  1. Introduction
  2. Requirements
  3. Installation

Introduction

A client library package for Laravel based projects, maintained by the dogado GmbH.

It provides a middleware class that automatically transforms cookies to be Secure if the request is SSL encrypted and, if the browser supports it, sets the SameSite=None attribute.

To learn more about SameSite cookies and how to use them, check out the web.dev blog from Google or the Mozilla docs.

Requirements

  • php ^7.3 or ^8.0
  • symfony/http-foundation version ^5.3.7 or ^6.0

Installation

composer require dogado/laravel-cookie-manager

Configure your Kernel to use the middleware

Add the following class to the appropriate Laravel kernel middleware configuration according to your requirements.

\Dogado\Laravel\CookieManager\Http\Middleware\SecureResponseCookies::class

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 6.82k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-26