PHP code example of littlezo / php-crc16-hex

1. Go to this page and download the library: Download littlezo/php-crc16-hex library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

littlezo / php-crc16-hex example snippets



use littler\CrcHex\CRC16;

= $crc->calc("10010000FF00");
echo $crcResult;
// BB7E