PHP code example of webreinvent / vaah-indexer

1. Go to this page and download the library: Download webreinvent/vaah-indexer 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/ */

    

webreinvent / vaah-indexer example snippets

bash
   php artisan vendor:publish --provider="WebReinvent\VaahIndexerServiceProvider"
vaah-indexer.php
bash
$response = Indexer::sendPingToAll($title, $page_url);
bash
$response = Indexer::sendPingToAll($title, $page_url);
echo $response->status;
bash
$response = Indexer::sendPingToAll($title, $page_url);
echo $response->content;