ttree / jsonstore
Minimalistic JSON document storage
Installs: 334
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Type:neos-package
Requires
- neos/flow: ^5.0
README
Store JSON document with a simple API, can be useful to store forms or any unstructured data.
How to use ?
You must use the StoreService
as you central way to interact with the store. The internal storage currently use Doctrine only, but
the Storage implement will be pluggable in a futur release. In the service you can use the public methods:
StoreService::add
to create a new DocumentStoreService::update
to update a new DocumentStoreService::remove
to remove a new DocumentStoreService::count
to count all Document by typeStoreService::paginate
to paginate over all Document by type
A Document
must have a label
, a type
and a JSON serializable payload.
Event
During the life cycle of the Documents, the following signal are emitted:
StoreService::documentAdded
StoreService::documentUpdated
StoreService::documentRemoved
Acknowledgments
Development sponsored by ttree ltd - neos solution provider.
We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.
License
The MIT License (MIT). Please see LICENSE for more information.