hawkbit/datastream

Compressed binary data designed for inter-process communication

1.0.0 2017-07-13 15:14 UTC

This package is not auto-updated.

Last update: 2024-11-10 04:48:17 UTC


README

Compressed binary data designed for inter-process communication.

Features

  • Keep data types as is
  • Transfer collections and simple objects
  • serialisation via JSON

Install

Using Composer

Datastream is available on Packagist and can be installed using Composer. This can be done by running the following command or by updating your composer.json file.

composer require hawkbit/hawkbit

composer.json

{
    "require": {
        "hawkbit/datastream": "~1.0"
    }
}

Be sure to also include your Composer autoload file in your project:

<?php

require __DIR__ . '/vendor/autoload.php';

Downloading .zip file

This project is also available for download as a .zip file on GitHub. Visit the releases page, select the version you want, and click the "Source code (zip)" download button.

Requirements

The following versions of PHP are supported by this version.

  • PHP 7.0
  • PHP 7.1
  • HHVM

Change log

Please see CHANGELOG for more information what has changed recently.

Usage

We are beaming Kirk and Spock from Enterprise to Earth.

The client sends data to an endpoint and process received data from endpoint.

Let's beam Kirk and Spock, simply execute following commands in your preferred console:

$ cd example
$ php client.php

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email mjls@web.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.