Обновить README.md

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2024-12-14 23:31:20 +07:00
parent 24ef880439
commit 66c39be90b

View File

@ -1,21 +1,24 @@
# Comma-Separated Values by RFC 4180 # Dolboeb database
A lightweight database in pure PHP<br> A lightweight database in pure PHP<br>
It will perfectly replace complex databases in simple projects
At the moment the project is a modified RFC 4180
`2024.12.14` **IN DEVELOPMENT! DO NOT USE IN PROJECTS!**
## Requirements ## Requirements
- PHP 8.4 - PHP 8.4
## Installation ## Installation
1. `composer require mirzaev/csv` 1. `composer require mirzaev/dolboeb`
2. Create a class that inherits `mirzaev/csv/database` and redefine the `database::FILE` constant 2. Create a class that inherits `mirzaev/dolboeb/database` and redefine the `database::FILE` constant
3. Enjoy! 3. Enjoy!
## Example ## Example
```php ```php
<?php <?php
// Library for CSV // Dolboeb database
use mirzaev\csv\{database, record}; use mirzaev\dolboeb\{database, record};
// Initializing the database // Initializing the database
$database = new database('name', 'age', 'created'); $database = new database('name', 'age', 'created');