2017 © Pedro Peláez
 

library affair

this works exactly like sessions, it will help you perform save items in session and retrieve them

image

dreamaker/affair

this works exactly like sessions, it will help you perform save items in session and retrieve them

  • Thursday, July 12, 2018
  • by samwel244
  • Repository
  • 0 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Affair

GitHub issues license GitHub forks GitHub stars, (*1)

Table of Contents

Install

To install the Affair, (*2)

first download via composer by running the command composer require dreamaker\affair if you do not have composer you could just clone this repo, (*3)

after download, (*4)

Then include or into your project directory and put this at the top of you class or file use Dreamaker\Affair\Affair;, (*5)

Documentation

Affair::put($key, $value), (*6)

This method is used to save items into the session, but adding a key and value, (*7)

Affair::get($key), (*8)

This method is used to retrieve items from a session, (*9)

Affair::all(), (*10)

This returns all session saved, (*11)

To start a session, all you have to do is instantiate a new affair class, (*12)

$affair = new Affair; This will start a session, (*13)

Affair::destroy() This will destroy all session variables in existence, (*14)

Affair::exists($key) This will return true if the session exists with the $key parameter passed into it otherwise false, (*15)

License

Affair is free software distributed under the terms of the MIT license., (*16)

Contribution guidelines

Please report any issue you find in the issues page.
Pull requests are welcome., (*17)

The Versions

12/07 2018

dev-master

9999999-dev

this works exactly like sessions, it will help you perform save items in session and retrieve them

  Sources   Download

MIT

by Samuel Ezedi

12/07 2018

v1.0.0

1.0.0.0

this works exactly like sessions, it will help you perform save items in session and retrieve them

  Sources   Download

MIT

by Samuel Ezedi