sattorbek/array-db

c

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:composer-plugin

v1.0.1 2025-05-15 05:29 UTC

This package is auto-updated.

Last update: 2025-05-15 05:45:04 UTC


README

ArrayDb — A simple and lightweight key-value storage utility based on arrays for PHP. This small library is primarily designed for sessions, temporary states, or simple caching.

Installation

composer require sattorbek/array-db

Usage

<?php

require_once __DIR__ . "/vendor/autoload.php";

use Cache\ArrayDb;

$db = new ArrayDb();

$db->set("key", "author", "Salom");

echo $db->get("key", "author");

Features

  • Minimalistic and efficient key-author-value storage mechanism
  • Quick usage with a simple interface
  • Written type-safe for PHP 8+
  • Easy integration and extensibility options

Requirements

  • PHP 8.0 or higher version
  • Composer (for package management)

License

MIT License © Sattorbek

Contact

Author: Sattorbek GitHub: https://github.com/sattors/ArrayDb