Download the PHP package auxmoney/avro-php without Composer

On this page you can find all versions of the php package auxmoney/avro-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package avro-php

auxmoney/avro-php

A PHP library that provides schema-based Avro data serialization and deserialization.

It is based on the latest changes from the original Apache Avro implementation available at https://github.com/apache/avro, and it is designed to be an augmented version of the original library.

The features added by this library are:

Installation

To install auxmoney/avro-php, you can use Composer:

Usage

Encoding/Decoding Data

Try out the example scripts examples/encoding.php and examples/decoding.php:

Logical Types

Although this library does not provide an implementation for any logical type, it is possible to use them by providing the implementation to the AvroIODatumReader and AvroIODatumWriter classes.

The logical type must implement the interface Auxmoney\Avro\Datum\LogicalTypeInterface.

Try out the example script examples/logical-type.php:

Documentation

For more detailed documentation on usage, schema design, and advanced features like schema evolution, please refer to the official Avro documentation.

Contribution

Contributions are welcome! If you find a bug or want to suggest a new feature, feel free to open an issue or submit a pull request.

The code under the apache directory is a copy of the original Apache Avro library, and should have only minimal changes to adapt it to the new features. The code under the src directory is the new code added by this library.

The branch upstream is used to track the original Apache Avro library, and the branch master is used to track the changes made by this library.

To retrieve changes from the original library, you can use the shell script update-upstream.sh.

License

This library is licensed under the Apache License 2.0.

Changelog

For the detailed changelog, please refer to the Releases page.


All versions of avro-php with dependencies

PHP Build Version
Package Version
Requires php-64bit Version >=8.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package auxmoney/avro-php contains the following files

Loading the files please wait ....