Skip to content

siilike/php-vpack

Repository files navigation

PHP VelocyPack extension

This extension adds support for the VelocyPack format to PHP. It supports most methods of Slice and Builder and also ships with a tags-based type mapper for more precise type or object document mapping.

Tested with PHP 7.4 and PHP 8.0.

See src/Slice.cpp and src/Builder.cpp for supported methods and examples/ and tests/ for type mapper examples.

Building

git submodule update --recursive
(cd velocypack/build; cmake ..; make -j12)

phpize
./configure
make -j12
make install