webreinvent/vaah-indexer
Composer 安装命令:
composer require webreinvent/vaah-indexer
包简介
Get Google to Index Your Website Faster
关键字:
README 文档
README
All In One Laravel Package to get your web pages indexed fast!
How to force Google to index your page fast?
- "Ping" your website
- Post your page url to high traffic sites
- Post status on Social Media
Features
Ping
✅ Ping Service
Social Media
🔲 Facebook Status
🔲 Twitter Status
High Traffic Website
Install
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, ]
Publish with artsian
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.
Usage
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;
Further plans
- Add support to post on Facebook, Twitter
统计信息
- 总下载量: 85
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-22