Download the PHP package artofwifi/statamic-indexnow without Composer
On this page you can find all versions of the php package artofwifi/statamic-indexnow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package statamic-indexnow
IndexNow for Statamic
Submit URLs to IndexNow directly from your Statamic Control Panel for faster search engine indexing.
What is IndexNow?
IndexNow is an open protocol that allows websites to instantly notify search engines about content changes. Instead of waiting for search engines to discover updates through crawling, IndexNow enables real-time notifications resulting in faster indexing and more current search results.
When you submit to any one participating search engine, the submission is automatically shared with all others:
- Bing
- Yandex
- Seznam
- Naver
Note: Google does not participate in IndexNow. Use Google Search Console for Google indexing.
Features
- CP Utility — browse all published entries and submit selected URLs with one click
- Submission tracking — see which entries have been submitted and whether they've been modified since
- Auto-submit on publish — optionally submit URLs automatically when entries are saved
- Bulk actions — quickly select all unsubmitted or modified entries
- Collection filtering — filter entries by collection and search by title
- Sortable columns — sort by title, collection, status, last modified, or last submitted
- Batch support — large submissions are automatically chunked per IndexNow's 10,000 URL limit
- History cleanup — artisan command to prune old submission records
Requirements
- Statamic 5 or 6
- Laravel 11, 12, or 13
Installation
No database required. Submission history is stored as a JSON file in storage/statamic-indexnow/.
Setup
1. Generate an IndexNow key
Your API key must be 8-128 characters long, using alphanumeric characters and hyphens. You can generate one at indexnow.org/genkey or use OpenSSL:
2. Add the key to your .env
3. Host the verification key file
IndexNow requires a verification file at your domain root to prove ownership. Create a text file named {your-key}.txt containing just the key:
The file must be publicly accessible and return only the key as plain text.
That's it! Head to CP > Utilities > IndexNow and start submitting.
Configuration
Publish the config file if you need to customize settings:
This will create config/statamic-indexnow.php with the following options:
Production URL
If you manage your site from a development or staging environment, set INDEXNOW_PRODUCTION_URL to ensure production URLs are submitted regardless of which environment the CP runs in:
Excluding collections
Add collection handles to exclude_collections to hide them from the utility and skip them during auto-submission:
Usage
CP Utility
Navigate to Utilities > IndexNow in the Control Panel. You'll see all published entries with their submission status:
| Status | Meaning |
|---|---|
| Never (gray) | Entry has never been submitted to IndexNow |
| Modified (amber) | Entry was modified after the last submission |
| Submitted (green) | Entry hasn't changed since last submission |
Select entries and click Submit Selected to IndexNow. Use the quick-select buttons to select all unsubmitted or modified entries.
The table supports sorting by title, collection, status, last modified, and last submitted date. Filter by collection or search by title using the controls above the table.
Auto-submit on publish
Enable automatic submission whenever entries are saved:
When enabled, each published entry triggers a submission to IndexNow. Entries in excluded collections and unpublished entries are skipped.
Cleaning up old records
Submission history accumulates over time. Use the artisan command to prune old records:
To run this automatically, add it to your schedule in routes/console.php or app/Console/Kernel.php:
License
MIT License. See LICENSE.md for details.