vardumper/dom-orm

There is no license information available for the latest version (v1.4.0) of this package.

DOMDocument Object Relational Mapper (ORM)

Maintainers

Package info

github.com/vardumper/dom-orm

pkg:composer/vardumper/dom-orm

Statistics

Installs: 95

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 1

v1.4.0 2026-04-25 11:32 UTC

README

Latest Stable Version Total Downloads License

DOM ORM is a lightweight, zero-setup, XML-based persistence layer for small datasets in PHP projects. It stores entities in a single XML document, so you can start without a database server.

Features

  • A very lightweight approach to persisting data into a single XML file.
  • Supports exporting to headless-friendly formats such as JSON, YAML, XML
  • Supports Versioning in Git or Mercurial out of the box.
  • Handles concurrency with flock() when used with local file strage
  • Supports local and remote storage via Flysystem (S3, Azure, Google Cloud, (S)FTP, etc.).
  • Ships with a built-in in-memory Flysystem adapter for process-local XML storage.
  • Supports one-to-one, one-to-many, many-to-one, and many-to-many patterns.
  • Supports AES-256-GCM field-level encryption via #[Sensitive] with searchable HMAC hashes.
  • Supports schema evolution (rename/remove fragments) via #[FragmentMap] and CLI commands.
  • Fully tested (Unit, Integration)

Installation

composer require vardumper/dom-orm

Documenation

Extensive Documentation has been made available here.