New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

lingxi/context

Add a application deploy timestamp prefix to cookie name for laravel.
8,330 13
Install
composer require lingxi/context
Latest Version:v0.0.3
Laravel:5
License:MIT
Last Updated:Jun 8, 2018
Links: GitHub  ·  Packagist
Maintainer: RryLee

Context

管理一次请求生命周期中的数据 Build StatusStyleCILatest Stable VersionTotal DownloadsLicense

Install

composer require lingxi/context

Lingxi\Context\ContextServiceProvider::class,

'Context' => Lingxi\Context\ContextFacade::class,

Usage

<?php

Context::set('user', User::find(request('user_id')));

Context::get('user');

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

665,354,487 9,703
laravel/framework

The Laravel Framework.

625,568,548 34,998
laravel/tinker

Powerful REPL for the Laravel framework.

531,591,559 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

450,320,528 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

424,642,029 4,662

Version History

Version Released Laravel License
v0.0.3 ~5.0 MIT
v0.0.2 ~5.0 MIT
v0.0.1 5.1.* || 5.2.* || 5.3.* MIT