marten_db_session
Version, currently 0.1.05 versions
- 0.4.0latestAug 3, 2025
- 0.3.0not indexedJul 26, 2026
- 0.2.0not indexedJul 26, 2026
- 0.1.1not indexedJul 26, 2026
- 0.1.0not indexedJul 26, 2026
github.com/martenframework/marten-db-session
A database session store for the Marten web framework.
Nothing has been indexed for 0.1.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
marten_db_session:
github: martenframework/marten-db-session
version: ~> 0.1.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
Marten DB Session
Marten DB Session provides a database session store for the Marten web framework.
Installation
Simply add the following entry to your project's shard.yml:
dependencies:
marten_db_session:
github: martenframework/marten-db-session
And run shards install afterward.
Once installed you can configure your project to use the database session store by following these steps:
First, add the following requirement to your project's src/project.cr file:
require "marten_db_session"
Secondly, add the following requirement to the top-level manage.cr file in order to make Marten DB Session Store migrations available to your project:
require "marten_db_session/cli"
Then, add the MartenDBSession::App app class to your project's installed_apps setting and ensure that your sessions.store setting is set to :db:
Marten.configure do |config|
# Other settings...
config.installed_apps = [
MartenDBSession::App,
# Other apps..
]
config.sessions.store = :db
end
Finally, run the marten migrate command in order to install the DB session entry model.
Congrats! You’re in! From now on, your session data will be persisted in a marten_db_session_store_entry table.
Authors
Morgan Aubert (@ellmetha) and contributors.
License
MIT. See LICENSE for more details.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- Jul 26, 2026
- Commit
6f212d0e35d3- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/martenframework/marten-db-session
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 5