Skip to content
forked from docbasedb/docbase

Lightweight File-Based Database

Notifications You must be signed in to change notification settings

umaarov/docbase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocBase v1.0.0 Features

1. Lightweight File-Based Database

  • Stores data in JSON files, eliminating the need for traditional databases like MySQL or SQLite.

2. PSR-4 Compliant

  • Fully compliant with modern PHP standards for namespace and autoloading via Composer.

3. Collection Management

  • Create named collections stored as JSON files.

4. CRUD Operations

  • Insert: Add new documents to a collection.
  • Find: Query documents with flexible conditions.
  • Update: Modify existing documents based on specific criteria.
  • Delete: Remove documents matching the query.

5. Query Filtering

  • Supports key-value-based filtering for retrieving specific records.

6. JSON Data Storage

  • Data is stored in JSON files, making it easy to debug and inspect.

7. Data Export and Portability

  • The JSON-based format allows for data sharing and migration.

8. Simple and Minimalistic API

  • Provides an intuitive interface for database operations, requiring minimal setup.

9. Error Handling

  • Includes custom exceptions for clear and predictable error reporting.

DocBase v1.0.0 Installation

  • Install DocBase using Composer: composer require docbasedb/docbase

About

Lightweight File-Based Database

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%