An open API service indexing awesome lists of open source software.

https://github.com/perfectlysoft/perfect-session

Session drivers (for use in Perfect projects).
https://github.com/perfectlysoft/perfect-session

perfect server-side-swift session-drivers session-management sessions swift

Last synced: 3 months ago
JSON representation

Session drivers (for use in Perfect projects).

Awesome Lists containing this project

README

          

# Perfect Sessions (core library) [简体中文](README.zh_CN.md)



Get Involed with Perfect!



Star Perfect On Github


Stack Overflow


Follow Perfect on Twitter


Join the Perfect Slack



Swift 4.0


Platforms OS X | Linux


License Apache


PerfectlySoft Twitter


Slack Status

The Perfect Session core library, with Memory Driver.

Note that a demo is located at [https://github.com/PerfectExamples/Perfect-Session-Memory-Demo](https://github.com/PerfectExamples/Perfect-Session-Memory-Demo) that shows the operation of the in-memory driver included in the core library.

## Compatibility with Swift

The master branch of this project currently compiles with **Xcode 9.2** or the **Swift 4.0.3** toolchain on Ubuntu.

## Building

Add this project as a dependency in your Package.swift file.

``` swift
.Package(url:"https://github.com/PerfectlySoft/Perfect-Session.git", majorVersion: 3)
```

## Database-Specific Drivers

To use the Perfect Session driver with a database storage option (recommended) use one of the following database-specific modules:

* [PostgreSQL](https://github.com/PerfectlySoft/Perfect-Session-PostgreSQL)
* [MySQL](https://github.com/PerfectlySoft/Perfect-Session-MySQL)
* [CouchDB](https://github.com/PerfectlySoft/Perfect-Session-CouchDB)
* [MongoDB](https://github.com/PerfectlySoft/Perfect-Session-MongoDB)
* [Redis](https://github.com/PerfectlySoft/Perfect-Session-Redis)
* [SQLite](https://github.com/PerfectlySoft/Perfect-Session-SQLite)

If you use one of the database-specific modules, you do not need to include this module as a dependancy, as it is already included.

## Further Information
For more information on the Perfect project, please visit [perfect.org](http://perfect.org).