Download the PHP package s00d/rocksdb-client-php without Composer

On this page you can find all versions of the php package s00d/rocksdb-client-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rocksdb-client-php

Packagist Version Packagist Downloads Packagist License GitHub Repo stars

RocksDB Client PHP

A PHP client for interacting with RocksDB server.

Overview

This package is a part of the RocksDBFusion project. Before integrating this client into your application, you need to run the RocksDB server provided by RocksDBFusion.

Installation

You can install the package via Composer:

Workflow

Below is the diagram illustrating how the client interacts with the RocksDB server:

Configuration

Laravel Integration

  1. Add the service provider:

    In your config/app.php file, add the service provider to the providers array:

    And the alias to the aliases array:

  2. Publish the configuration file:

    This will create a config/rocksdb.php configuration file where you can set the connection details.

  3. Update your .env file:

    Add your RocksDB connection details to the .env file:

  4. Usage:

    Now you can use the RocksDB client in your Laravel application:

Direct Usage (Without Laravel)

If you want to use the client without Laravel, you can directly instantiate the RocksDBClient class.

  1. Create an instance:

  2. Usage:

Server Setup

This package is a client for the RocksDB server, which is part of the RocksDBFusion project. Before using this client, ensure the RocksDB server is running. You can set up and run the server by following the instructions in the RocksDBFusion repository.

Methods

put

Stores a key-value pair in the database.

get

Retrieves the value of a key from the database.

delete

Deletes a key from the database.

merge

Merges a value with an existing key.

listColumnFamilies

Lists all column families in the database.

createColumnFamily

Creates a new column family.

dropColumnFamily

Drops an existing column family.

compactRange

Compacts the database within a range.

Transactions

Begin Transaction

Begins a new transaction.

Commit Transaction

Commits a transaction.

Rollback Transaction

Rolls back a transaction.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Links


All versions of rocksdb-client-php with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
illuminate/support Version ^7.0|^8.0|^9.0
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package s00d/rocksdb-client-php contains the following files

Loading the files please wait ....