Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
/ avro-php Public archive

Generic Apache Avro PHP available as a composer package

License

Notifications You must be signed in to change notification settings

researchgate/avro-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3738dc1 · Oct 26, 2023

History

29 Commits
Mar 27, 2023
Jul 5, 2022
Feb 25, 2020
Jan 8, 2014
Jul 5, 2022
Jul 5, 2022
Jul 5, 2022
Jul 5, 2022
Apr 6, 2016
Jul 5, 2022
Apr 6, 2016
Oct 26, 2023
Oct 26, 2023
Jul 4, 2022

Repository files navigation

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.

Requirements

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:

<?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.