2017 © Pedro Peláez
 

library session

This package helps you to manage your session easily.

image

sun/session

This package helps you to manage your session easily.

  • Saturday, July 25, 2015
  • by IftekherSunny
  • Repository
  • 1 Watchers
  • 0 Stars
  • 51 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Session

Total Downloads Latest Stable Version Latest Unstable Version License, (*1)

Session helps you to manage your session data easily., (*2)

Installation Process

Just copy Session folder somewhere into your project directory. Then include session autoloader., (*3)

 require_once('/path/to/Session/autoload.php');

Session is also available via Composer/Packagist., (*4)

 composer require sun/session

All Methods

To store session data
$session = new Sun\Session;
$session->create('login', 'username');
To get session data
$session->get('login');

You can also set default value for session get method., (*5)

$session->get('login', 'users');
To delete session data
$session->get('login');
To check session exists
$session->has('login');
To pull session data

The pull method retrieve session data then delete this session immediately., (*6)

$session->pull('login');

You can also set default value for session pull method., (*7)

$session->pull('login','users');
To push session data into session array
$session->push('login', ['user']);
To pop session data from session array
$session->pop('login');
To shift session data from session array
$session->shift('login');
To destroy all session data
$session->destroy();

License

This package is licensed under the MIT License, (*8)

The Versions

25/07 2015

dev-master

9999999-dev

This package helps you to manage your session easily.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

php auth session php session laravel like session

25/07 2015

v1.2

1.2.0.0

This package helps you to manage your session easily.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

php auth session php session laravel like session

13/07 2015

v1.1

1.1.0.0

This package helps you to manage your session easily.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

13/07 2015

v1.0

1.0.0.0

This package helps you to manage your session easily.

  Sources   Download

MIT

The Requires

  • php >=5.4.0