PHP code example of cyve / ip-anonymizer
1. Go to this page and download the library: Download cyve/ip-anonymizer 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/ */
cyve / ip-anonymizer example snippets
$anonymizer = new \Cyve\IpAnonymizer\IpAnonymizer();
$address = $anonymizer->anonymize('127.0.0.1'); // 127.0.0.0