chasdevs / avro-to-php
Compile Avro .avsc files into PHP.
Installs: 2 496
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 8
Forks: 3
Open Issues: 2
Requires
- php: ^8.1
- bramus/monolog-colored-line-formatter: ~3.0
- chasdevs/avro-parser: ^0.0.5
- flix-tech/avro-serde-php: ^1.3
- illuminate/log: ^v9.0
- laravel-zero/framework: ^9.0
- myclabs/php-enum: ^1.7
- twig/twig: ^3.0
Requires (Dev)
- mockery/mockery: ^1.0
- mvccore/ext-debug-tracy: ^5.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-02-20 00:36:57 UTC
README
Compile Avro .avsc files into usable PHP classes.
Supports PHP >=8.1, for PHP 7.4 support use version 3.1.0
Installation
composer require chasdevs/avro-to-php
Usage
vendor/bin/avro-to-php compile dir/with/avsc/
Releasing
- Update VER in Makefile
- Run
make release
Roadmap
- Basic Records
- Arrays
- Unions
- CLI
- Defaults
- Enums
- Logical types (only tested with timestamp-millis)
- Maps
- Serialization Tests
- Fixed
- Sort Order
- Aliases