flix-tech/avro-php
A PHP library for working with Apache Avro: parse schemas, encode/decode Avro data, and integrate serialization into your apps. Useful for Kafka-style pipelines and data interchange where compact binary formats and schema evolution matter.
A library for using Avro with PHP.
Both GMP and PHPUnit are often available via package management
systems as php5-gmp and phpunit, respectively.
Untar the avro-php distribution, untar it, 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:
<?php
require_once('avro-php/avro.php');
If you're pulling from source, put lib/ in your include path and require lib/avro.php:
<?php
require_once('lib/avro.php');
Take a look in examples/ for usage.
How can I help you explore Laravel packages today?