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).
- Host: GitHub
- URL: https://github.com/perfectlysoft/perfect-session
- Owner: PerfectlySoft
- License: apache-2.0
- Created: 2016-12-15T19:20:18.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-07T12:04:20.000Z (over 6 years ago)
- Last Synced: 2025-06-20T01:03:04.103Z (4 months ago)
- Topics: perfect, server-side-swift, session-drivers, session-management, sessions, swift
- Language: Swift
- Homepage: https://www.perfect.org
- Size: 69.3 KB
- Stars: 4
- Watchers: 4
- Forks: 14
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Perfect Sessions (core library) [简体中文](README.zh_CN.md)
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).