承接 kevinsimard/laravel-cookieless-session 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

kevinsimard/laravel-cookieless-session

最新稳定版本:v1.2.4

Composer 安装命令:

composer require kevinsimard/laravel-cookieless-session

包简介

Laravel middleware to start a cookieless session

README 文档

README

All you need to do is to add the following key X-Session-Token to your requests" headers to load sessions.

Installation

Replace the original start session middleware in app/Http/Kernel.php.

<?php namespace App\Http;

use Illuminate\Foundation\Http;

class Kernel extends Http\Kernel
{
    /**
     * @var array
     */
    protected $middleware = [
        //"Illuminate\Session\Middleware\StartSession",
        "Kevinsimard\CookielessSession\Middleware\StartSession",
        ...
    ];
...

Replace the original session service provider in config/app.php.

"providers" => [
    ...
    //"Illuminate\Session\SessionServiceProvider",
    "Kevinsimard\CookielessSession\Providers\SessionServiceProvider",
    ...
],

Code Structure

├── src
│   └── Kevinsimard
│       └── CookielessSession
│           ├── Middleware
│           │   └── StartSession.php
│           └── Providers
│               └── SessionServiceProvider.php
├── .editorconfig
├── .gitattributes
├── .gitignore
├── LICENSE.md
├── README.md
└── composer.json

License

This package is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 14
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固