Download the PHP package blenderrus/flarum-indexnow without Composer
On this page you can find all versions of the php package blenderrus/flarum-indexnow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download blenderrus/flarum-indexnow
More information about blenderrus/flarum-indexnow
Files in blenderrus/flarum-indexnow
Package flarum-indexnow
Short Description IndexNow for Flarum: tells Bing, Yandex and other search engines about new, changed and removed discussions.
License MIT
Homepage https://github.com/BlenderRUS/flarum-indexnow
Informations about the package flarum-indexnow
IndexNow for Flarum
A Flarum extension that tells search engines about new, changed and removed discussions through the IndexNow protocol, so they are recrawled within minutes instead of waiting for the next visit of a crawler. IndexNow is supported by Microsoft Bing, Yandex, Seznam, Naver, Yep and others; every submission is shared between all of them.
Features
- Submits a discussion when it is started, gets a reply, is edited, renamed, retagged, approved (with flarum/approval), hidden, restored or deleted.
- Submits only what guests can see: discussions in restricted tags, hidden or awaiting approval stay private. A discussion that is being hidden or deleted is submitted if it was public until then, so engines drop it sooner.
- Generates a key on install and serves it at
https://your-forum/<key>.txt. The key location is sent with every request, so a forum installed in a subdirectory works too. - Settings in the admin panel: the key, where to send (IndexNow.org, Bing, Yandex, Seznam, Naver, Yep, Internet Archive, Amazonbot or any other address), a switch for each kind of change and the result of the last submission.
- A console command to submit all public discussions at once, e.g. right after installing.
- A failing search engine never breaks posting: errors are logged and shown in the settings.
- English and Russian translations.
Requirements
- Flarum 2.0 or later
- PHP 8.3 or later
Installation
Then enable IndexNow in the admin panel. A key is generated when the extension is enabled; the settings page shows the address of the key file.
To tell the engines about the discussions you already have:
Updating
How it works
Every change queues a job for its discussion. The job checks that a guest can see the discussion and sends its address to the selected endpoint:
The engine downloads the key file once to check that the submission comes from the site's owner: the first answer
is 202 Accepted, later ones 200 OK.
Jobs run on Flarum's queue. With the default sync driver they are sent while the post is being saved, which adds
the engine's response time (usually well under a second) to posting. A background queue — for example the database
driver with php flarum schedule:run in cron — keeps posting fast.
Console
Addresses are sent in batches of 10,000, the protocol's limit per request.
Development
По-русски
Расширение для Flarum 2 сообщает поисковикам по протоколу IndexNow о новых, изменённых, скрытых и удалённых темах —
Яндекс, Bing и другие участники протокола переобходят их за минуты. Отправляются только темы, которые видят гости.
Установка: composer require blenderrus/flarum-indexnow, затем включить расширение в админке — ключ создаётся сам,
в настройках можно выбрать поисковик (например, Яндекс), включить или выключить виды изменений и посмотреть результат
последней отправки. Уже существующие темы отправляет php flarum indexnow:submit --all. Интерфейс переведён на русский.
Links
License
MIT © 2026 Grigoriy Skidan