(Deprecated) Server side Nymph files. http://nymph.io
This repository has been archived on 2026-03-31. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • PHP 99.4%
  • Shell 0.6%
Find a file
2021-08-14 09:23:38 -07:00
conf Documentation updates. 2019-05-07 18:27:37 -07:00
src Push to cache using entity's cdate and mdate. 2021-08-14 08:33:45 -07:00
testing Don't save over data in the database when the entity in it is newer than the entity being saved. Fixes #12. 2020-12-23 12:13:56 -08:00
.gitignore Out of date info fixes. 2019-04-12 17:48:40 -07:00
.travis.yml Remove PHP 7.1 from Travis CI. 2020-08-14 15:05:39 -07:00
composer.json Update packages and version. 2020-12-23 12:40:22 -08:00
composer.lock Update packages and version. 2020-12-23 12:40:22 -08:00
LICENSE Updated license file. 2017-06-16 19:04:36 -07:00
phpcs.xml Remove commented rules. 2019-06-04 17:43:57 -07:00
README.md Add deprecation notice. 2021-08-14 09:23:38 -07:00

Nymph Server - collaborative app data

Build Status Latest Stable Version Open Issues License

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.