Download the PHP package byteferry/sdds_php without Composer

On this page you can find all versions of the php package byteferry/sdds_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 sdds_php

SDDS for PHP

Latest Version on Packagist Build Status Coverage Status Quality Score Total Downloads

A PHP library to work with stream decode and encode according to the SDDS Specification.

Introduction

中文文档

What is SDDS?

SDDS is short word of "stream data dynamic structure".

SDDS is a DSL (domain-specific language) .

The schema of SDDS is human-readable  and machine and machine-readable.

SDDS is a parse engine coded according the SDDS Specification. You can rapid complete the developing of the binary communication program.

Features

You only need to configure Endianness(Big-Endian, Little-Endian) in the SDDS Schema. If there are individual endianness that are inconsistent, you can also configure them to the corresponding nodes.     

The default integration larapack/dd, you can use the browser to debug requests and output to the page via dd.

Why SDDS?

Usually we have to write different programs for different communication protocols. However, if you use SDDS, the programs you basically use are the same. And, SDDS has been implemented for you.      All you have to do is expand the data stream operations, data types, bit operations, etc. that are not implemented by SDDS. And, through the JSON definition of SDDS Schema. When protocol had been changed, you only need to modify the SDDS Schema without modifying your code.      SDDS can greatly speed up your development.

Quick tutorial

Install

Via Composer

Usage

  1. implement the Channel class:

For example: the channel class is named DecoderChannel.

  1. Call your DecodeChannel

  2. Debug your SDDS Schema with DD using the http method through the browser. (To facilitate rapid development, we integrated Larapack/dd)   
  3. Integrate with your communication program.

Advanced usage

Sometimes the existing code doesn't fully meet your needs. At this point, you need to extend the SDDS engine with EventHandler.       A typical EventHandler looks like this:

There are 4 kind of EventHandler, See Sdds\Constants\EventTypeConstants for details.

We use them to meet different needs:

After we have these EventHandlers, we need to register these EventHandlers before using.

Then, the DecoderChannel looks like this:

Please see the source code in the examples directory for more details.

Contributing

Please see CONDUCT for details.

Security

If you discover any security related issues, please create an issue in the issue tracker.

Credits

License

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


All versions of sdds_php with dependencies

PHP Build Version
Package Version
Requires php Version ~7.1
larapack/dd Version 1.*
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 byteferry/sdds_php contains the following files

Loading the files please wait ....