PHP 8.1.0 RC 4 available for testing


The easiest way to install the extension is via » PECL

pecl install ds

You can also build directly from source:

# Dependencies you might need to install
# sudo apt-get install git build-essential php7.0-dev

git clone "php-ds"
cd php-ds

# Build and install the extension
make install

# Clean up the build files
make clean
phpize --clean

If you're on Windows, you can » download a compiled .dll on PECL


If you're using Composer, it's highly recommended that you include » php-ds/php-ds in your project so that your code is still functional in an environment where the extension is not installed. The extension will take priority if installed.

add a note add a note

User Contributed Notes 2 notes

yyb8 at vip dot qq dot com
4 years ago
Note: please load this extension after json extension,otherwise can't   load this extension.
sirolad at yahoo dot com
4 years ago
You can install using brew install homebrew/php/php71-ds on macOs
To Top