Download the PHP package alexcane/php-mettlertoledo without Composer
On this page you can find all versions of the php package alexcane/php-mettlertoledo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download alexcane/php-mettlertoledo
More information about alexcane/php-mettlertoledo
Files in alexcane/php-mettlertoledo
Download alexcane/php-mettlertoledo
More information about alexcane/php-mettlertoledo
Files in alexcane/php-mettlertoledo
Vendor alexcane
Package php-mettlertoledo
Short Description A PHP Library for Communicating with Mettler Toledo balances
License MIT
Homepage https://github.com/alexcane
Package php-mettlertoledo
Short Description A PHP Library for Communicating with Mettler Toledo balances
License MIT
Homepage https://github.com/alexcane
Please rate this library. Is it a good library?
Informations about the package php-mettlertoledo
PHPMettlerToledo
A PHP Library for network communication with Mettler Toledo balances and scales that use the Mettler Toledo Standard Interface Command Set (MT-SICS). This works is based on repo atlantis-software/mt-sics and repo ricado-group/dotnet-mettlertoledo
Installation
Run composer require alexcane/php-mettlertoledo
Example
Take a look in Example.php
Documentation
function | returns value | description |
---|---|---|
readCommandsAvailable() | array | Retrieves a list of available commands supported by the Mettler Toledo scale. |
readWeightAndStatus() | float | Reads the current weight and status from the scale. |
readTareWeight() | float | Reads the tare weight from the scale. |
readNetWeight() | float | Reads the net weight from the scale, irrespective of balance stability. |
zeroStable() | bool | Zeros the scale using a stable zero method. |
zeroImmediately() | bool | Zeros the balance immediately regardless the stability of the balance. |
tareStable() | bool | Sets the tare on the scale using a stable method. |
tareImmediatly() | bool | Sets the tare on the scale immediately regardless the stability of the balance. |
clearTare() | bool | Clears the current tare value on the scale. |
readFirmwareRevision() | string | Returns the balance SW version and type definition number. |
readSerialNumber() | string | Returns the serial number of the scale. |
getError() | string | Returns the last error message encountered. |
All versions of php-mettlertoledo with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4 || ^8.0
ext-mbstring Version *
ext-mbstring Version *
The package alexcane/php-mettlertoledo contains the following files
Loading the files please wait ....