Download the PHP package simpletools/db-indexedfile without Composer

On this page you can find all versions of the php package simpletools/db-indexedfile. 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 db-indexedfile

High-throughput non-concurrent NoSQL key-value file-based database with a memory-backed index.

IndexedFile is a DB system allowing to very quickly process and store big amount of data by leveraging memory as an index while keeping all the other data on disk with high-throughput read and write engine.

To simplify snippets below, its assumed that the following namespaces are in use:

Initialise Temp DB

To start a new temp DB which will get removed when the script terminates:

Initialise from existing DB

To start DB which might have already exists or which should persist after script terminate:

Setup a custom IndexStore

You can write your own IndexStore which implements IndexStoreInterface and preset it with the following static method:

Storing data

Inserting/Replacing data by key

Storing data if not exists

Ignoring insert if key already exists

Reading data

Reading by key

Iterating through all entries

Iterating through all entires

Upserting data

Updating/Inserting your data

Removing data

Removing a key

Truncating database

Removing all entires

or when booting up

Sorting

Declare text sort

Declare integer sort

includeSortStats flag adds to the indexed object _sort meta field with position in sort and percent of total (integer only)

Own input and output files

Example of use for sorting by price and list with an iterator


All versions of db-indexedfile with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
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 simpletools/db-indexedfile contains the following files

Loading the files please wait ....