Download the PHP package torden/php-mdbm without Composer

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

PHP-mdbm

Build Stats PHP-mdbm ver. License Y! mdbm ver.
Build Status GitHub version License: MIT GitHub version

Table of Contents

API

Almost Useful APIs Support.

Not Supported APIs

Unfortunately, the following list are not supported on now.

Group API
Record Iteration mdbm_iterate
Data Management mdbm_clean, mdbm_prune, mdbm_set_cleanfunc
Statistics mdbm_chunk_iterate
Cache and Backing Store mdbm_set_backingstore
Import and Export mdbm_cdbdump_to_file, mdbm_cdbdump_trailer_and_close, mdbm_cdbdump_add_record, mdbm_dbdump_to_file, mdbm_dbdump_trailer_and_close, mdbm_dbdump_add_record, mdbm_dbdump_export_header, mdbm_dbdump_import_header, mdbm_dbdump_import, mdbm_cdbdump_import

If you want them, please feel free to raise an issue

Deprecated APIs

API STATUS COMMENT
mdbm_save DEPRECATED mdbm_save is only supported for V2 MDBMs.
mdbm_restore DEPRECATED mdbm_restore is only supported for V2 MDBMs.
mdbm_sethash DEPRECATED Legacy version of mdbm_set_hash() This function has inconsistent naming, an error return value. It will be removed in a future version.

Only a V2 implementation

API STATUS COMMENT
mdbm_stat_all_page V3 not supported There is only a V2 implementation. V3 not currently supported.
mdbm_stat_header V3 not supported There is only a V2 implementation. V3 not currently supported.

Support Two Versions Compatibility

PHP

Version Support Test
5.2.x ~ 5.6.x yes always
7.x yes always
8.x yes always

MDBM

branch or release ver. Support Test Comment
master yes always
4.x yes always

Install

MDBM

php-mdbm

Use the composer (packagist)

See the composer documentation for use composer

Use the source code

Or Download the tarball (tag or release)
Compile
Configuration
Check

Example

See the documentation for more details.

Benchmark

The following is results of PHP-mdbm vs PHP SQlite3 benchmarks for simple data storing and random fetching.

See the Source Code.

Prepare for a Benchmark

Spec

Host

Type Spec
CPU Inte i-7
RAM DDR4 32G
HDD Nvme M.2 SSD

VM

Type Spec
Machine VM(VirtualBox)
OS Ubuntu 17.10.1 (Artful Aardvark)
CPU 2 vCore
RAM 8G

Software

Type Version Comment
PHP 7.0.26 ---
php-mdbm v0.1.0 ---
mdbm master branch ---
SQLite3 3.19.3 Async, Transaction, journal_mode = wal

Simple INSERTs

Simple Random FETCHs

Simple Random FETCHs with Use the Preload API

SQLite3

Simple INSERTs

Simple Random FETCHs

Link


Please feel free. I hope it is helpful for you.


All versions of php-mdbm with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.29
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 torden/php-mdbm contains the following files

Loading the files please wait ....