/phpkafka

Binary artifacts for PHP Kafka extension

Primary LanguageShellMIT LicenseMIT

phpkafka Binary Artifacts

These are binaries for the following shared libraries to use the Kafka message broker from PHP:

Usage

This repository contains versions of these binaries built for amd64 on the following PHP and OS version combinations.

Each binary is on a separate branch; please pull the binaries from the branch that matches your OS / PHP version

The v0.1 and v0.2 branches are there for legacy reasons and should not be used

The PHP runtimes are from the ppa:ondrej/php. You must install PHP from this PPA in order for these binaries to function.

Building

The binaries are built in the provided Docker container. Ensure you have Docker installed, then run the provided ./build.sh script from the branch that matches your desired OS / PHP version combination.

To change PHP version, change the variable sent to Docker in the build.sh script.

TO change Ubuntu version, change the base image in the Dockerfile.

Important: This repository uses Git Large File Storage (LFS). To use it in a meaningful way, the Git-LFS extension has to be installed. For instructions see the Git-LFS website.