Skip to content
PathversePublic

About

Annotation-driven secure persistence for Hive CE with generated adapters, hook pipelines, and Freezed support.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

86 Commits

Folders and files

Repository files navigation

PHive

Save Dart objects locally, read them back as typed models, and add expiry or encryption when your app needs it.

Try a working example

Install Flutter with Dart 3.11 or newer, then run these commands from this repository's root.

cd phive/example
flutter pub get
dart run build_runner build
dart run lib/main.dart

You should see the note you just stored.

Restored note-1: Hello PHive
Temporary storage removed.

This desktop command-line example uses a temporary folder and cleans it up after running. The example guide shows which files to change.

Add PHive to your app

Start with the runtime quick start. It walks through installation, a model, code generation, and a complete save/read example.

Package Add it when you want to
phive Store and retrieve your models.
phive_generator Generate adapters and model registration. Add it as a development dependency.
phive_barrel Give stored values a lifetime or encrypt string fields.

Next steps

See LICENSE for licensing.

About

Annotation-driven secure persistence for Hive CE with generated adapters, hook pipelines, and Freezed support.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages