PHP code example of indexnowkit / cli
1. Go to this page and download the library: Download indexnowkit/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/ */
indexnowkit / cli example snippets
// the same graph in PHP, when the CLI is embedded (IndexNowKit\Cli\Wiring is a composition root over the core)
use IndexNowKit\Cli\Application;
exit((new Application())->run());