Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

359 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOM ORM

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.

Demos

About

DOM Object Relational Mapper (ORM) - a hierarchical storage for hierarchical and relational data

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages