siad007/avro-php
Composer 安装命令:
composer require siad007/avro-php
包简介
Composer packaging for vanilla Apache Avro, with fixes
README 文档
README
What the Avro PHP library is
A library for using Avro with PHP.
Requirements
- PHP >= 7.1
- On 32-bit platforms, the GMP PHP extension
- For testing, PHPUnit
Both GMP and PHPUnit are often available via package management
systems as php5-gmp and phpunit, respectively.
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:
<?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.
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2020-05-04