Nymph Server API  3.0.0
Data objects for JavaScript and PHP.
Nymph Server - collaborative app data

/> /> /> [ /> ]()

Powerful object data storage and querying for collaborative web apps.

Installation

Automatic Setup

The fastest way to start building a Nymph app is with the Nymph App Template.

Manual Installation

composer require sciactive/nymph-server

This repository is the PHP ORM and REST server. For more information, you can see the main Nymph repository.

Usage

For detailed docs, check out the wiki:

Here's an overview:

require 'vendor/autoload.php';
Nymph::configure([
'MySQL' => [
'host' => 'your_db_host',
'database' => 'your_database',
'user' => 'your_user',
'password' => 'your_password'
]
]);
// You are set up. Now make a class like `MyEntity` and use it.
$myEntity = new MyEntity();
$myEntity->myVar = "myValue";
$myEntity->save();
$allMyEntities = Nymph::getEntities(['class' => 'MyEntity']);

For a thorough step by step guide to setting up Nymph on your own server, visit the Setup Guide.

API Docs

Check out the API Docs in the wiki.