2017 © Pedro Peláez
 

library div-nodes

Div PHP Nodes is a No-SQL Database System for PHP written in PHP

image

divengine/div-nodes

Div PHP Nodes is a No-SQL Database System for PHP written in PHP

  • Saturday, February 17, 2018
  • by rafageist
  • Repository
  • 0 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 86 % Grown

The README.md

Div PHP Nodes

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require, (*1)

Div PHP Nodes is a PHP library for storing relational and serialized data without the need for an external server. The data is organized into schemas, and each object (or "node") can be indexed for full-text search and fast lookup., (*2)

This class manages file-based databases and provides mechanisms to avoid concurrency issues using file locking. Additionally, it allows:, (*3)

  • Creating, updating, deleting, renaming, and searching for nodes.
  • Referencing nodes across different schemas.
  • Iterating over nodes using closure functions.
  • Indexing node content for quick searches.
  • Storing and dynamically updating statistics.
  • Managing schemas: creating, renaming, and deleting schema directories.

Installation

With composer..., (*4)

composer require divengine/nodes

Without composer, download the class and..., (*5)

include "path/to/divengine/nodes.php";

Basic usage

<?php

use divengine/nodes;

$db = new nodes("database/contacts");

$id = $db->addNode([
    "name" => "Peter",
    "age" => 25
]);

$db->setNode($id, [
    "email" => "peter@email.com",
    "phone" => "+1222553335"
]);

$contact = $db->getNode($id);

$db->delNode($id);

Enjoy!, (*6)

Documentation

The Versions

17/02 2018

dev-master

9999999-dev http://divengine.com

Div PHP Nodes is a No-SQL Database System for PHP written in PHP

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.4.0

 

database serialization storage no-sql