PHP code example of anolilab / wordpress-salt-generator
1. Go to this page and download the library: Download anolilab/wordpress-salt-generator 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/ */
anolilab / wordpress-salt-generator example snippets
php
// In your composer.json
"config": {
"generate-salts": true
},
"scripts": {
"post-root-package-install": ["Anolilab\\Wordpress\\SaltGenerator\\Generator::addSalts"]
},