PHP code example of hphio / api-cli
1. Go to this page and download the library: Download hphio/api-cli 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/ */
hphio / api-cli example snippets
`
# m h dom mon dow command
* * * * * /home/user/php/app/cli.php -x "database cleanup tokens"
`
chdir(__DIR__);