PHPackages                             spaze/url-checker - 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. spaze/url-checker

ActiveProject

spaze/url-checker
=================

A command line tool to check URL HTTP code and contents.

v1.1.0(3mo ago)0505—0%MITPHPCI passing

Since Feb 14Pushed 3mo agoCompare

[ Source](https://github.com/spaze/url-checker)[ Packagist](https://packagist.org/packages/spaze/url-checker)[ RSS](/packages/spaze-url-checker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

UrlChecker
==========

[](#urlchecker)

A command line tool to check URL HTTP code and contents.

Install
-------

[](#install)

```
composer create-project --no-dev spaze/url-checker url-checker

```

Usage
-----

[](#usage)

```
check.php     [OPTIONS]

```

### Options

[](#options)

- `--ignore-case-required-text`: Ignore case when looking for the required text. Only ASCII case folding will be done, non-ASCII bytes will be compared by their byte value.
- `--ignore-case-forbidden-text`: Ignore case when looking for the forbidden text. Only ASCII case folding will be done, non-ASCII bytes will be compared by their byte value.

The checker sends a request to `` and checks:

- If the HTTP status code matches ``
- If the page contains ``
- If `` is not present

Example
-------

[](#example)

```
bin/check.php https://example.com 200 "required" "FAiLuRe" --ignore-case-forbidden-text

```

Exit codes
----------

[](#exit-codes)

The exit code is

- `1` if the status code doesn't match ``
- `2` if `` is missing
- `3` if `` is found
- `4` if other runtime error occurs

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance82

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

Every ~0 days

Total

2

Last Release

93d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6777bd445610e6e458e4d41bdefa3070d2ed4e068323362353b061b15e9ff81b?d=identicon)[spaze](/maintainers/spaze)

---

Top Contributors

[![spaze](https://avatars.githubusercontent.com/u/1966648?v=4)](https://github.com/spaze "spaze (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/spaze-url-checker/health.svg)

```
[![Health](https://phpackages.com/badges/spaze-url-checker/health.svg)](https://phpackages.com/packages/spaze-url-checker)
```

PHPackages © 2026

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