PHP code example of floor9design / machine-identifier

1. Go to this page and download the library: Download floor9design/machine-identifier 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/ */

    

floor9design / machine-identifier example snippets


$machine_identifier = new \Floor9design\MachineIdentifier\MachineIdentifier();

Use \Floor9design\MachineIdentifier\MachineIdentifier;

$machine_identifier = new MachineIdentifier();

$id = $machine_identifier->uniqueMachineId();

$id = $machine_identifier->uniqueMachineId($salt);