2024-11-24 00:14:28 +07:00
2024-11-23 09:50:05 +07:00
2024-11-23 09:50:05 +07:00
2024-11-23 09:50:05 +07:00
2024-11-24 00:14:28 +07:00

Comma-Separated Values by RFC 4180

A lightweight database in pure PHP
It will perfectly replace complex databases in simple projects

Requirements

  • PHP 8.4

Installation

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

Example

<?php

// Library for CSV
use mirzaev\csv\{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

Description
Lightweight binary database by pure PHP
Readme 74 KiB
2025-01-28 14:17:26 +07:00
Languages
PHP 100%