PHPackages                             sparhandy/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sparhandy/avro-php

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

sparhandy/avro-php
==================

Implementation of Apache's Avro PHP library with Composer support, PSR-4 autoloading, namespaces, and type hinted method parameters

0.1.10(8y ago)41302[2 PRs](https://github.com/Sparhandy/avro-php/pulls)proprietaryPHPPHP ^7.2

Since Jan 30Pushed 6y ago10 watchersCompare

[ Source](https://github.com/Sparhandy/avro-php)[ Packagist](https://packagist.org/packages/sparhandy/avro-php)[ RSS](/packages/sparhandy-avro-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (12)Used By (0)

Sparhandy/avro-php
==================

[](#sparhandyavro-php)

This is a package based on the [Apache AVRO PHP library](http://apache.mirror.anlx.net/avro/) (v 1.8.1).

The core logic remains the same but I've added Composer support, PSR-4 autoloading, method type-hinting, fixed property accessors with encapsulation where I've found errors (private/public member access), and some other tidy-ups.

Usage
-----

[](#usage)

### Installation

[](#installation)

```
$ composer require sparhandy/avro-php
```

### Usage

[](#usage-1)

Based on the official library's example:

```
