- "Ping" your website
- Post your page url to high traffic sites
- Post status on Social Media
✅ Ping Service
🔲 Facebook Status
🔲 Twitter Status
composer require webreinvent/vaah-indexer
Add to your config/app.php file to providers section:
'providers' => [
// ...
WebReinvent\VaahIndexer\VaahIndexerServiceProvider::class,
]
If you want to use Indexer
facade, add to same file at the aliases section:
'aliases' => [
// ...
'Indexer' => WebReinvent\VaahIndexer\IndexerFacade::class,
]
php artisan vendor:publish --provider="WebReinvent\VaahIndexerServiceProvider"
Publishes a vaah-indexer.php
file to config directory. Add and remove all your ping sites in this file. Be sure to review the ping responses from the ping sites because there are many ping sites and do not all provide a uniform response. Some may require additional parameters.
Send to all ping services:
$response = Indexer::sendPingToAll($title, $page_url);
To get http status:
$response = Indexer::sendPingToAll($title, $page_url);
echo $response->status;
To get response content:
$response = Indexer::sendPingToAll($title, $page_url);
echo $response->content;
- Add support to post on Facebook, Twitter