PHP code example of fernleafsystems / apiwrappers-wphashes
1. Go to this page and download the library: Download fernleafsystems/apiwrappers-wphashes 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/ */
fernleafsystems / apiwrappers-wphashes example snippets
use FernleafSystems\ApiWrappers\WpHashes;
$oHashVO = ( new WpHashes\Plugin\Retrieve() )
->setVersion( '7.4.2' )
->setHashAlgo( 'sha1' )
->setSlug( 'wp-simple-firewall' )
->asVo();
// Get the MD5 hashes for Swedish WordPress 5.2
$oHashVO = ( new WpHashes\WordPress\Retrieve() )
->setVersion( '5.2' )
->setHashAlgo( 'md5' )
->setLocale( 'sv_se' )
->asVo();