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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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:

Note: Google does not participate in IndexNow. Use Google Search Console for Google indexing.

Features

Requirements

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.


All versions of statamic-indexnow with dependencies

PHP Build Version
Package Version
Requires statamic/cms Version ^5.0 || ^6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package artofwifi/statamic-indexnow contains the following files

Loading the files please wait ...