baraja-core / index-now
There is no license information available for the latest version (v1.0.0) of this package.
Send ping to search engine by Index now protocol.
v1.0.0
2021-11-08 15:11 UTC
Requires
- php: ^8.0
Requires (Dev)
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.0
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-nette: ^1.0
- phpstan/phpstan-strict-rules: ^1.0
- roave/security-advisories: dev-master
- spaze/phpstan-disallowed-calls: ^2.0
This package is auto-updated.
Last update: 2024-11-08 18:32:58 UTC
README
Easy to use protocol that websites can call to notify search engines whenever website contents on any URL is updated or created allowing instant crawling, and discovery of the URL.
More information:
📦 Installation
It's best to use Composer for installation, and you can also find the package on Packagist and GitHub.
To install, simply use the command:
$ composer require baraja-core/index-now
You can use the package manually by creating an instance.
How to use
Simply create instance and send request to search engine:
// create service instance for Bing $indexNow = new \Baraja\IndexNow\IndexNow( apiKey: 'ecc3bf28ed494de4b01e754cf6dff0d5', searchEngine: 'bing' ); // send changed URL $indexNow->sendChangedUrl('https://baraja.cz');
And that's all.
📄 License
baraja-core/index-now
is licensed under the MIT license. See the LICENSE file for more details.