PHP code example of salaros / wp-cli-salts-command
1. Go to this page and download the library: Download salaros/wp-cli-salts-command 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/ */
salaros / wp-cli-salts-command example snippets
bash
wp salts generate --file=/absolute/path/to/file.php