New

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

arrilot/sessions

Use Laravel session Api to work with plain old PHP sessions in any project
697 5
Install
composer require arrilot/sessions
Latest Version:1.0.3
PHP:>=5.4.0
Laravel:5
License:MIT
Last Updated:Jul 27, 2020
Links: GitHub  ·  Packagist
Maintainer: Arrilot

Latest Stable Version Total Downloads Build Status Scrutinizer Quality Score

Laravel-like framework agnostic session package

Use Laravel session Api to work with plain-old php sessions in any project

Installation

  1. composer require arrilot/sessions

  2. Register a service provider anywhere in your bootstrap code.

Arrilot\Sessions\SessionProvider::register();

Usage

Arrilot\Sessions\Session is the main class provided by the package. You can treat this class just like the Laravel Session facade and call literally any method listed here + Session::now() from 5.1.

Example:

use Arrilot\Sessions\Session;

Session::flash('message', 'Email was sent');

Note that the package does not actually require laravel session component. It provides Laravel API to work with built-in php sessions ($_SESSION) instead.

Related Packages

petercoles/live-or-let-die

Synchronising Laravel session management with your frontend

160 3
jetiradoro/laravel-session-manager

Manage current sessions in laravel application

33 4
smony/filament-user-sessions

View all active user sessions and force-logout any user from your Filament admin...

2,101 5
repat/laravel-database-session-model

Eloquent Model for the sessions table as created by artisan session:table

11,542 1
particle-academy/prism-harness

Durable agent sessions for Laravel — threads, modes, tool permissions and subage...

1,498 0

Version History

Version Released PHP Laravel License
1.0.3 >=5.4.0 5.* MIT
1.0.2 >=5.4.0 5.* MIT
1.0.1 >=5.4.0 5.* MIT