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,327 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...

651,963,193 9,701
laravel/framework

The Laravel Framework.

610,364,751 34,988
laravel/tinker

Powerful REPL for the Laravel framework.

518,004,183 7,444
laravel/serializable-closure

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

435,097,283 607
nunomaduro/collision

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

407,699,310 4,663

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