PHPackages                             nemorize/indexnow - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. nemorize/indexnow

AbandonedArchivedLibrary[API Development](/categories/api)

nemorize/indexnow
=================

PHP library for submitting website URLs using IndexNow to search engines.

0.0.1(2y ago)92.6k1MITPHPPHP &gt;=8.1

Since Jul 31Pushed 2y agoCompare

[ Source](https://github.com/nemorize/php-indexnow)[ Packagist](https://packagist.org/packages/nemorize/indexnow)[ RSS](/packages/nemorize-indexnow/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

php-indexnow
============

[](#php-indexnow)

**php-indexnow** is a PHP library for [IndexNow](https://indexnow.org) API.

Example usage
-------------

[](#example-usage)

```
composer require nemorize/indexnow
```

```
$indexnow = new \Nemorize\Indexnow\Indexnow();
$indexnow->setKey('fc1e3ad82010475381daf9846e627fdd');
$indexnow->submit('https://example.com/url-changed');
$indexnow->submit([
    'https://example.com/url-changed',
    'https://example.com/url-changed-2'
]);
```

Specification
-------------

[](#specification)

### setHost

[](#sethost)

```
Indexnow::setHost (string $host): void;
```

You can change the hostname of the API. If you don't set the hostname, the default host is `api.indexnow.org`.

### getHost

[](#gethost)

```
Indexnow::getHost (): string;
```

Returns the hostname of the API.

### setKey

[](#setkey)

```
Indexnow::setKey (string $key): void;
```

You can change the key of the API.

### getKey

[](#getkey)

```
Indexnow::getKey (): string;
```

Returns the key of the API.

### setKeyLocation

[](#setkeylocation)

```
Indexnow::setKeyLocation (?string $keyLocation): void;
```

You can change the key location of the API. If you want to unset the key location, you can set `null`.

### getKeyLocation

[](#getkeylocation)

```
Indexnow::getKeyLocation (): ?string;
```

Returns the key location of the API.

### submit

[](#submit)

```
Indexnow::submit (string|array $url, array $guzzleOptions = null): void;
```

You can submit a URL to the API. If you use `$url` as an array, it will submit multiple URLs using JSON request. `$guzzleOptions` is an array of options for [Guzzle](https://docs.guzzlephp.org/en/stable/quickstart.html#making-a-request).

#### Exceptions

[](#exceptions)

`submit` method throws exceptions if some errors occur. If the API throws well-known non-20x response codes, it will throw the following exceptions that extend `IndexnowException`. Any other errors will throw `GuzzleException`.

- `BadRequestException`
- `ForbiddenException`
- `TooManyRequestsException`
- `UnprocessableEntityException`

License
-------

[](#license)

MIT License

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1067d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/51209191?v=4)[Ji Yong, Kim](/maintainers/nemorize)[@nemorize](https://github.com/nemorize)

---

Top Contributors

[![nemorize](https://avatars.githubusercontent.com/u/51209191?v=4)](https://github.com/nemorize "nemorize (1 commits)")

### Embed Badge

![Health badge](/badges/nemorize-indexnow/health.svg)

```
[![Health](https://phpackages.com/badges/nemorize-indexnow/health.svg)](https://phpackages.com/packages/nemorize-indexnow)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M984](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
