PHPackages                             rmoore/avro-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. rmoore/avro-php

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

rmoore/avro-php
===============

Avro schema encoder/decoder. Fork of rg/avro-php

4.1.4(5y ago)054Apache-2.0PHPPHP &gt;=7.1

Since Jan 8Pushed 5y agoCompare

[ Source](https://github.com/RMoorePHP/avro-php)[ Packagist](https://packagist.org/packages/rmoore/avro-php)[ RSS](/packages/rmoore-avro-php/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (17)Used By (0)

[![Build Status](https://camo.githubusercontent.com/ae8677df0f4bd49c42320cc909103517e371a5759c2d346dfd6803644250e10e/68747470733a2f2f7472617669732d63692e636f6d2f7265736561726368676174652f6176726f2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/researchgate/avro-php)

What the Avro PHP library is
============================

[](#what-the-avro-php-library-is)

A library for using [Avro](http://avro.apache.org/) with PHP.

Requirements
============

[](#requirements)

- PHP &gt;= 7.1
- On 32-bit platforms, the [GMP PHP extension](http://php.net/gmp)
- For testing, [PHPUnit](http://www.phpunit.de/)
- For Deflate codec, [Zlib](https://www.php.net/zlib)
- For Snappy codec, [Snappy](http://google.github.io/snappy/)

Both GMP and PHPUnit are often available via package management systems as `php5-gmp` and `phpunit`, respectively.

Getting started
===============

[](#getting-started)

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:

```
