Download the PHP package orderlyconnect/astm-e1394-91 without Composer

On this page you can find all versions of the php package orderlyconnect/astm-e1394-91. 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 astm-e1394-91

OrderlyConnect ASTM E1394-97

Tests Latest Version on Packagist PHP Version

A complete, production-ready PHP 8.1+ library for parsing, building, and transmitting ASTM E1394-97 messages — the standard used by clinical laboratory instruments (haematology analysers, chemistry analysers, coagulation systems, etc.) to exchange patient results with LIS/HIS systems.

Validated against real Sysmex XN-350 haematology analyser output.


Features


Installation

Requirements: PHP 8.1+.
Serial port support requires stty (Linux/macOS) or mode.com (Windows).


Quick Start


Table of Contents


Parsing


Building Messages

Custom delimiters


Cloning & Modifying


Sending


Receiving


TCP Server


Transports

Class Use Case
TcpTransport Connect to an instrument over TCP/IP
SerialTransport RS-232 via /dev/ttyUSBx or COM3
FileTransport Read / write LLP-framed binary files
MemoryTransport Unit tests and simulation
StreamTransport Wrap any open PHP stream resource

Implement TransportInterface (6 methods) to add your own.


LLP Protocol


Utility Classes

EscapeCodec

Sequence Literal
&F& \| field delimiter
&R& \ repeat delimiter
&S& ^ component delimiter
&E& & escape character

MessageValidator

MessageCollection

MessageDiff

DateTimeHelper


Serialisation


ASTM Record Reference

Result flags

Constant Value Meaning
Result::FLAG_NORMAL N Within range
Result::FLAG_ABOVE_NORMAL H High
Result::FLAG_BELOW_NORMAL L Low
Result::FLAG_CRITICAL_H HH Critically high
Result::FLAG_CRITICAL_L LL Critically low
Result::FLAG_ABNORMAL A Qualitative abnormal
Result::FLAG_WARNING W Instrument warning

Result statuses

Constant Value
Result::STATUS_FINAL F
Result::STATUS_CORRECTION C
Result::STATUS_PRELIMINARY P
Result::STATUS_INCOMPLETE I

Exception hierarchy


Examples


Testing

167 tests · 371 assertions across 5 test files covering the full stack.


Extending

Custom record type

Custom transport

Implement Astm\Transport\TransportInterface and pass to Sender or Receiver.


Publishing to Packagist

See PACKAGIST.md for step-by-step instructions.


Security

Please report vulnerabilities via the process in SECURITY.md.


Changelog

See CHANGELOG.md.


Contributing

See CONTRIBUTING.md.


Licence

MIT — see LICENSE.


All versions of astm-e1394-91 with dependencies

PHP Build Version
Package Version
Requires php Version ^8.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 orderlyconnect/astm-e1394-91 contains the following files

Loading the files please wait ...