Lightweight binary database by pure PHP
Go to file
Arsen Mirzaev Tatyano-Muradovich a69c2bbcdd rebranging 2024-12-15 00:09:42 +07:00
mirzaev/csv beautified 2024-11-24 00:14:28 +07:00
.gitignore move from mirzaev/repression 2024-11-23 09:50:05 +07:00
LICENSE move from mirzaev/repression 2024-11-23 09:50:05 +07:00
README.md rebranging 2024-12-15 00:09:42 +07:00
composer.json total rebuild + tests + more powerfull functions 2024-11-23 23:42:59 +07:00
composer.lock move from mirzaev/repression 2024-11-23 09:50:05 +07:00

Ebaboba database

A lightweight database in pure PHP

At the moment the project is a modified RFC 4180

2024.12.14 IN DEVELOPMENT! DO NOT USE IN PROJECTS!

Requirements

  • PHP 8.4

Installation

  1. composer require mirzaev/ebaboba
  2. Create a class that inherits mirzaev/ebaboba/database and redefine the database::FILE constant
  3. Enjoy!

Example

<?php

// Ebaboba database
use mirzaev\ebaboba\{database, record};

// Initializing the database
$database = new database('name', 'age', 'created');

// Initializing the record
$record = new record(['Arsen', '23', time());

// Writing to the database
$database->write($record);
?>

Used by