/henry

Classe para envio/recebimento de mensagens das catracas da marca henry

Primary LanguagePHPGNU Lesser General Public License v3.0LGPL-3.0

Henry Class

Command transmission class for henry turnstiles.

Important note

This class was based on the class henry-php and received an important contribution from the Henry Integration Team.

Important Observation

The henry class is of the lowest level and contains the communication methods. The henryTools class, used to extend the henry class, has higher level methods.

Examples

Base64 biometrics is used, remember that it is necessary to configure this encapsulation in the equipment
  • example_01.php: "Low level" example of sending a biometric in base64 to the equipment. Uses the writeSocket() method for sending and the listen() method for returning.
  • example_02.php: Same functionality as the previous one, but using the sendBiometricBase64() method.
  • example_03.php: Example showing how to get a base64 biometry from a device using the getBiometricByIdBase64() method.
  • example_04.php: Example of how to delete a device's biometrics using the deleteBiometric() method.
  • example_05.php: Example of how to set configuration in device, using the setConfig() method.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • RogĂ©rio Albandes - Initial work - albandes

See also the list of contributors who participated in this project.

License

This project is licensed under the GNU General Public License v3.0 - see the licence.txt file for details