Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
/ fields-mongodb Public archive

MongoDB storage adapter for back-2-95/fields

Notifications You must be signed in to change notification settings

back-2-95/fields-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

back-2-95/fields-mongodb

MongoDB storage adapter for back-2-95/fields

Travis CI

What should this library do?

  • Use MongoDb for storing Entities handled by \BackTo95\Fields API (create own storage adapter for it)

API

Create API and set MongoDB storage:

$api = new \BackTo95\Fields\Api();
$client = new \MongoDB\Client;
$storage = new \BackTo95\Fields\MongoDb\MongoDbStorage($client, 'database', 'collection');
$api->setStorage($storage);

About

MongoDB storage adapter for back-2-95/fields

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages