This package is abandoned and no longer maintained. The author suggests using the flix-tech/avro-php package instead.

Composer packaging for vanilla Apache Avro, with fixes

3.0.0 2022-07-05 08:21 UTC

This package is auto-updated.

Last update: 2023-10-26 09:44:19 UTC


Test status

This library is abandoned. Please use flix-tech/avro-php instead.

What the Avro PHP library is

A library for using Avro with PHP.


Getting started

Untar the avro-php distribution and put it in your include path:

tar xjf avro-php.tar.bz2 # avro-php.tar.bz2 is likely avro-php-1.4.0.tar.bz2
cp avro-php /path/to/where/you/want/it

Require the avro.php file in your source, and you should be good to go:


If you're pulling from source, put lib/ in your include path and require lib/avro.php:


Take a look in examples/ for usage.