Skip to content

Compile .avsc files into PHP classes.

License

Notifications You must be signed in to change notification settings

ozean12/avro-to-php

 
 

Repository files navigation

Avro to PHP

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 ozean12/avro-to-php

Usage

vendor/bin/avro-to-php compile dir/with/avsc/

Releasing

  1. Update VER in Makefile
  2. 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

About

Compile .avsc files into PHP classes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 83.7%
  • Twig 12.2%
  • Makefile 2.8%
  • Other 1.3%