sciactive / nymph-server
Powerful object data storage and querying for collaborative web apps.
Requires (Dev)
- phpunit/phpunit: ^7.1
- sciactive/hookphp: ~2.1.0
- squizlabs/php_codesniffer: 3.*
- dev-master
- 3.3.0
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.0
- 3.0.0
- 3.0.0-beta.24
- 3.0.0-beta.23
- 3.0.0-beta.22
- 3.0.0-beta.21
- 3.0.0-beta.20
- 3.0.0-beta.19
- 3.0.0-beta.18
- 3.0.0-beta.17
- 3.0.0-beta.16
- 3.0.0-beta.15
- 3.0.0-beta.14
- 3.0.0-beta.13
- 3.0.0-beta.12
- 3.0.0-beta.11
- 3.0.0-beta.10
- 3.0.0-beta.9
- 3.0.0-beta.8
- 3.0.0-beta.7
- 3.0.0-beta.6
- 3.0.0-beta.5
- 3.0.0-beta.4
- 3.0.0-beta.3
- 3.0.0-beta.2
- 3.0.0-beta.1
- 2.2.0
- 2.1.0
- 2.0.0
- 1.6.2
- 1.6.0
- 1.5.4
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.4.0-beta.4
- 1.4.0-beta.3
- 1.4.0-beta.2
- 1.4.0-beta.1
- dev-node
This package is auto-updated.
Last update: 2022-12-14 19:03:53 UTC
README
Powerful object data storage and querying for collaborative web apps.
Deprecation Notice
The PHP implementation of Nymph/Tilmeld has been deprecated. It will no longer have any new features added. Instead, a new version of Nymph running on Node.js, written entirely in TypeScript will replace the PHP implementation. You can find it over at the Nymph.js repo.
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'; use Nymph\Nymph; 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.