PHPackages                             biscolab/updown-php-sdk - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. biscolab/updown-php-sdk

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

biscolab/updown-php-sdk
=======================

UpDown PHP SDK.

v1.1.0(7y ago)02611MITPHPPHP &gt;=7.1.1

Since Feb 17Pushed 7y agoCompare

[ Source](https://github.com/biscolab/updown-php-sdk)[ Packagist](https://packagist.org/packages/biscolab/updown-php-sdk)[ RSS](/packages/biscolab-updown-php-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (1)

updown
======

[](#updown)

UpDown.io PHP SDK

[![Build Status](https://camo.githubusercontent.com/846afeffa0730a3732bdf0d19a7106b86ed46d055c69d01c0b7e6351eb5ed6d9/68747470733a2f2f7472617669732d63692e6f72672f626973636f6c61622f7570646f776e2d7068702d73646b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/biscolab/updown-php-sdk)[![Code Coverage](https://camo.githubusercontent.com/09511ee132e53af381778d96ba46ea833e29f6c58d2b74749e342df71f4462a8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626973636f6c61622f7570646f776e2d7068702d73646b2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/biscolab/updown-php-sdk/?branch=master)[![Build Status](https://camo.githubusercontent.com/860464ac8c11124fb3aed6eecb2b865d81f0f5d3792cc18eff7c377fd4c0f1d1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626973636f6c61622f7570646f776e2d7068702d73646b2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/biscolab/updown-php-sdk/build-status/master)

Documentation
-------------

[](#documentation)

Now you can find compete documentation [here](http://updown-sdk.biscolab.com/docs/intro)

Frameworks
----------

[](#frameworks)

- [Laravel 5 Package](https://github.com/biscolab/laravel-updown)

Getting started
---------------

[](#getting-started)

First of all you need a [UpDown.io](https://updown.io) account.

Further info/documentation will be ready ASAP.

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

[](#installation)

You can install the package via composer:

```
composer require biscolab/updown-php-sdk
```

Configuration
-------------

[](#configuration)

### API key

[](#api-key)

First of all you need an API key: [Get API Key](https://updown.io/settings/edit)

### Initialize the UpDown and create Check object

[](#initialize-the-updown-and-create-check-object)

```
use Biscolab\UpDown\UpDown;
use Biscolab\UpDown\Objects\Check;
use Biscolab\UpDown\Fields\UpDownRequestFields;

// Initialize UpDown
UpDown::init([
    UpDownRequestFields::API_KEY => ''
]);

// Create an empty "Check" CRUD object
$check = new Check();

// OR

// Create an existing "Check" CRUD object
$check = new Check($attributes);
```

- `$check` is a CRUD object, so it has `create`, `read`, `update` and `delete` methods available.
- `$attributes` could an array containing a list of attributes (`Biscolab\UpDown\Fields\CheckFields`) or a scalar value representing the token given by updown.io.

Usage
-----

[](#usage)

### Create Check object on updown.io

[](#create-check-object-on-updownio)

```
$check = new Check($attributes);
$check->create();
```

### Read Check data from updown.io

[](#read-check-data-from-updownio)

```
$check = new Check($token);
$check->read();

// get data as array
$array_data = $check->toArray();

// get single value
$url = $check->{UpDownRequestFields::URL};
```

> Use Enum values like `UpDownRequestFields` to avoid errors

### Update Check on updown.io

[](#update-check-on-updownio)

```
$check = new Check($token);
$check->update($attributes);
```

### Delete Check from updown.io

[](#delete-check-from-updownio)

```
$check = new Check($token);
$deleted = $check->delete();
```

- `$deleted` is bool, `true` if "ok", `false` if something went wrong

### Get Check "Metrics" from updown.io

[](#get-check-metrics-from-updownio)

```
$check = new Check($token);
$metrics = $check->getMetrics($from, $to, $group);
```

- `$metrics` is anf objact of class `Biscolab\UpDown\Types\Metrics`

### Get Check "Downtimes" from updown.io

[](#get-check-downtimes-from-updownio)

```
$check = new Check($token);
$downtimes = $check->getDowntimes($page);
```

- `$downtimes` is anf objact of class `Biscolab\UpDown\Types\DownTimes`, a collection of `Biscolab\UpDown\Types\DownTime` objects

License
-------

[](#license)

[![MIT License](https://camo.githubusercontent.com/041d94997783eca4d10d8b159c18fe6c99518c0724260b048db08444e3690f5c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f626973636f6c61622f7570646f776e2e737667)](https://github.com/biscolab/updown/blob/master/LICENSE)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

Every ~1 days

Total

2

Last Release

2641d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9263090?v=4)[Roberto Belotti](/maintainers/biscolab)[@biscolab](https://github.com/biscolab)

---

Top Contributors

[![biscolab](https://avatars.githubusercontent.com/u/9263090?v=4)](https://github.com/biscolab "biscolab (44 commits)")

---

Tags

composerphp7updownupdown-monitoringmonitoringIPupdown

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/biscolab-updown-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/biscolab-updown-php-sdk/health.svg)](https://phpackages.com/packages/biscolab-updown-php-sdk)
```

###  Alternatives

[honeybadger-io/honeybadger-php

Honeybadger PHP library

381.5M4](/packages/honeybadger-io-honeybadger-php)[stayallive/lighthouse-graphql-hive

Performance monitoring Lighthouse with GraphQL Hive.

2223.3k](/packages/stayallive-lighthouse-graphql-hive)[krenor/prometheus-client

A PHP Client for Prometheus

1020.9k](/packages/krenor-prometheus-client)

PHPackages © 2026

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