Composer packaging for vanilla Apache Avro, with fixes
Installs: 358 646
Open Issues: 4
- php: >=7.3
- phpunit/phpunit: ^9.5
- ext-gmp: Large integer support for 32-bit platforms.
What the Avro PHP library is
A library for using Avro with PHP.
- PHP >= 7.3
- On 32-bit platforms, the GMP PHP extension
- For testing, PHPUnit
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
Take a look in
examples/ for usage.