PHPackages                             ph-7/cookiesession - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ph-7/cookiesession

ActiveLibrary

ph-7/cookiesession
==================

Very light library to manage easily and simply the Session and Cookie with PHP 7+

1.0.9(8y ago)91213GPL-3.0+PHPPHP &gt;=7.0.0

Since Feb 28Pushed 8y ago2 watchersCompare

[ Source](https://github.com/pH-7/CookieSession)[ Packagist](https://packagist.org/packages/ph-7/cookiesession)[ Docs](http://ph7cms.com)[ RSS](/packages/ph-7-cookiesession/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)DependenciesVersions (7)Used By (0)

CookieSession
=============

[](#cookiesession)

**CookieSession** is a very light library to manage easily and simply the Session and Cookie with PHP 7+ (and without spending time by configuring and securing them).

Composer Installation
---------------------

[](#composer-installation)

You can add it easily in your projec by using [Composer](https://getcomposer.org/).

```
$ composer require ph-7/cookiesession
```

Then, include Composer's autoload

```
require_once 'vendor/autoload.php';
```

Manual Installation
-------------------

[](#manual-installation)

If you don't use Composer, you can install it without Composer by including the following

```
require 'src/autoloader.php';
```

Usage for Session
-----------------

[](#usage-for-session)

```
