Download the PHP package muninndb/client without Composer

On this page you can find all versions of the php package muninndb/client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package client

MuninnDB PHP SDK

Official PHP client for MuninnDB — the cognitive memory database.

Framework-agnostic. Works in WordPress, Laravel, CodeIgniter, or plain PHP scripts with zero framework dependencies.

Features

Requirements

Installation

Quick Start

Framework Examples

WordPress

Laravel

CodeIgniter

Vanilla PHP

Full API Reference

Constructor

Core CRUD

write(...) — Write a single engram

writeBatch(...) — Write up to 50 engrams

read(id, vault) — Read a single engram

forget(id, vault, hard) — Soft or hard delete

activate(...) — Recall by context

link(...) — Associate two engrams

Extended Operations

evolve(id, newContent, reason, vault) — Update content

consolidate(ids, mergedContent, vault) — Merge engrams

decide(decision, rationale, alternatives, evidenceIds, vault) — Record a decision

restore(id, vault) — Recover a deleted engram

traverse(startId, maxHops, maxNodes, relTypes, vault) — Graph walk

explain(engramId, query, vault) — Score breakdown

setState(id, state, reason, vault) — Change workflow state

Valid states: planning, active, paused, blocked, completed, cancelled, archived

listDeleted(vault, limit) — List soft-deleted engrams

retryEnrich(id, vault) — Re-run enrichment

contradictions(vault) — Detected contradictions

guide(vault) — Human-readable vault guide

Query & List

stats(vault) — Vault statistics

listEngrams(vault, limit, offset) — Paginated engram list

getLinks(id, vault) — Get an engram's associations

listVaults() — List all vaults

session(vault, since, limit, offset) — Session activity log

Streaming & Health

subscribe(vault, pushOnWrite) — SSE subscription

health() — Health check

Error Handling

All errors throw exceptions extending MuninnDB\Exceptions\MuninnException:

Exception HTTP Status When
AuthException 401 Invalid or missing token
NotFoundException 404 Engram / resource not found
ValidationException 400, 422 Invalid request body
ConflictException 409 Conflicting operation
ServerException 5xx Server-side error (after retries)
ConnectionException — curl connection failure
TimeoutException — Request exceeded timeout

Configuration

All configuration is done through the constructor — no config files, no environment variable magic:

License

MIT


All versions of client with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-curl Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package muninndb/client contains the following files

Loading the files please wait ...