Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/karlomikus/rqlite-php

A basic rqlite client for PHP. Supports multiple HTTP adapters.
https://github.com/karlomikus/rqlite-php

distributed php rqlite sqlite

Last synced: 14 days ago
JSON representation

A basic rqlite client for PHP. Supports multiple HTTP adapters.

Awesome Lists containing this project

README

        

# PHP Client for Rqlite

A basic rqlite client for PHP. Supports multiple HTTP adapters (Curl, Guzzle, Basic PHP file stream). Returns strongly typed results. [Rqlite](https://rqlite.io) is a lightweight, distributed relational database, which uses SQLite as its storage engine.

## Installation

```bash
composer require karlomikus/rqlite
```

## Usage

```php
query([
'SELECT * FROM foo',
]);

// Get the results
// By default the results from query endpoint are fetch as associative arrays
var_dump($result);
```