Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/karlomikus/rqlite-php
- Owner: karlomikus
- License: mit
- Created: 2024-10-26T16:22:32.000Z (22 days ago)
- Default Branch: master
- Last Pushed: 2024-11-03T15:47:39.000Z (14 days ago)
- Last Synced: 2024-11-03T16:29:43.849Z (14 days ago)
- Topics: distributed, php, rqlite, sqlite
- Language: PHP
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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);
```