ttree/jsonstore

Last activity 25 Jan 2019 2 1 324
composer require ttree/jsonstore

Minimalistic JSON document storage

3.0.0

Version
3.0.0
Type
neos-package
Release Date
Jan 25, 2019 15:55
Source
git
Distribution
zip
Requires
MIT 1b55ef6e271ec280910eef74871f8ced5fc2f39b

Minimalistic JSON document storage

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 Document
  • StoreService::update to update a new Document
  • StoreService::remove to remove a new Document
  • StoreService::count to count all Document by type
  • StoreService::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.

The content of the readme is provided by Github
The same vendor provides 48 package(s).