Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vantezzen/vowserdb
🗄 vowserDB allows you to use CSV or JSON files as a database in PHP
https://github.com/vantezzen/vowserdb
csv database php
Last synced: 2 months ago
JSON representation
🗄 vowserDB allows you to use CSV or JSON files as a database in PHP
- Host: GitHub
- URL: https://github.com/vantezzen/vowserdb
- Owner: vantezzen
- License: mit
- Created: 2016-11-02T22:12:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T16:34:56.000Z (almost 6 years ago)
- Last Synced: 2024-07-25T19:17:21.154Z (6 months ago)
- Topics: csv, database, php
- Language: PHP
- Homepage: https://vowserdb.vantezzen.io/
- Size: 611 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# vowserDB
vowserDB allows you to use csv files as a standalone database for PHP with SQL-like commands.It is written purely in PHP without any dependencies.
# Installation
vowserDB can be installed via composer by running
```php
composer require vowserdb/vowserdb
```# Basic usage
```php
insert([
'username' => 'testuser',
'password' => '1234',
'mail' => '[email protected]'
]);// Save changes to table file
$table->save();// Select row from the table and update the password of the selected rows
$table
->select(['username' => 'testuser'])
->update(['password' => '5678'])
->save();// Get selected rows
$rows = $table->selected();
```# Documentation
The documentation can be found at [https://vantezzen.github.io/vowserdb](https://vantezzen.github.io/vowserdb). It can also be viewed from `docs/index.html` when cloning the repository or by opening `docs/Home.md`.
The documentation is powered by [Flatdoc](http://ricostacruz.com/flatdoc).# Bugs and feature requests
Bugs and feature request are tracked on [GitHub](https://github.com/vantezzen/vowserdb/issues).# Licence
vowserDB is licensed under the MIT License - see the `LICENSE` file for details.# Acknowledgements
This library is heavily inspired by Laravels Eloquent syntax.# Unit Test
Unit tests can be executed via `composer test`.