PHPackages                             muffeen/url-status - 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. muffeen/url-status

ActiveLibrary

muffeen/url-status
==================

Check or ping urls for http response/status codes.

1.0.0(3y ago)4288↓100%MITPHPPHP ^5.4 || ^7.0 || ^8.0

Since Dec 31Pushed 3y ago1 watchersCompare

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

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

URL Status Code Checker
=======================

[](#url-status-code-checker)

This package can be used to retrieve http status code of a particular url, as well as its headers.

- Easy to use.
- Lightweight, no dependencies.
- Can be configured easily with curl options.

Requirements
------------

[](#requirements)

This package only requires php curl and json extensions. PHP requirement is 5.4+.

Installation
------------

[](#installation)

Add `muffeen/url-status` as a require dependency in your `composer.json` file:

```
composer require muffeen/url-status

```

Usage
-----

[](#usage)

Refer to the example below:

```
use Muffeen\UrlStatus\UrlStatus;

$urlStatus = UrlStatus::get('http://www.example.com');
$httStatusCode = $urlStatus->getStatusCode();
$responseHeaders = $urlStatus->getResponseHeaders();
```

Extend your request by using curl options constants. The example below show how can you set a user agent for your request.

```
use Muffeen\UrlStatus\UrlStatus;

$urlStatus = UrlStatus::get('http://www.example.com', array(
    CURLOPT_USERAGENT => '',
));
$httStatusCode = $urlStatus->getStatusCode();
$responseHeaders = $urlStatus->getResponseHeaders();
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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 ~369 days

Total

5

Last Release

1209d ago

Major Versions

0.2.0 → 1.0.02023-01-16

PHP version history (3 changes)0.1.0PHP &gt;=5.5.0

0.2.0PHP &gt;=5.3

1.0.0PHP ^5.4 || ^7.0 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/101b4e810811210fadff6df469e20d12adf6b7572d80afbef3a3f01659dd6749?d=identicon)[mrethical](/maintainers/mrethical)

---

Top Contributors

[![mrethical](https://avatars.githubusercontent.com/u/54579632?v=4)](https://github.com/mrethical "mrethical (18 commits)")

---

Tags

linkphppingstatus-codeurlurlphplinkstatus codeping

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/muffeen-url-status/health.svg)

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

###  Alternatives

[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6737.4M59](/packages/jbroadway-urlify)[kompo/kompo

Laravel &amp; Vue.js FullStack Components for Rapid Application Development

11812.4k21](/packages/kompo-kompo)[yarri/link-finder

Converts non-clickable URLs and email addresses in text (plain or HTML) into clickable HTML links

18148.6k1](/packages/yarri-link-finder)[nahid/linkify

Converts URLs and email addresses in text into HTML links its extended from Misd\\Linify its also support laravel 5

11136.0k1](/packages/nahid-linkify)[burnbright/silverstripe-externalurlfield

Provides SilverStripe with a DBField and FormField for handling external URLs.

109.6k1](/packages/burnbright-silverstripe-externalurlfield)

PHPackages © 2026

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