Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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');

About

管理一次请求生命周期中的数据

Resources

Stars

13 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages