Hawkbit Datastream
Compressed binary data designed for inter-process communication., (*1)
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., (*2)
composer require hawkbit/hawkbit
composer.json, (*3)
{
"require": {
"hawkbit/datastream": "~1.0"
}
}
Be sure to also include your Composer autoload file in your project:, (*4)
<?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., (*5)
Requirements
The following versions of PHP are supported by this version., (*6)
Change log
Please see CHANGELOG for more information what has changed recently., (*7)
Usage
We are beaming Kirk and Spock from Enterprise to Earth., (*8)
The client sends data to an endpoint and process received data from endpoint., (*9)
Let's beam Kirk and Spock, simply execute following commands in your preferred console:, (*10)
$ cd example
$ php client.php
Testing
bash
$ composer test, (*11)
Contributing
Please see CONTRIBUTING for details., (*12)
Security
If you discover any security related issues, please email mjls@web.de instead of using the issue tracker., (*13)
Credits
License
The MIT License (MIT). Please see License File for more information., (*14)