worlddevs / uptime-robot-api
A wrapper library for UptimeRobot API
v1.0.2
2026-02-13 04:12 UTC
Requires
- guzzlehttp/guzzle: ^7.10
Requires (Dev)
- php: >=8.0.1
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^12.5
- vlucas/phpdotenv: ^5.6
This package is auto-updated.
Last update: 2026-03-13 14:52:55 UTC
README
Provides a wrapper to UptimeRobot API calls and abstracts away authentication.
Installation
Installation is easy with Composer:
$ composer require worlddevs/uptime-robot-api
or add it by hand to your composer.json file.
Upgrading
We are using semantic versioning. Breaking changes may occur on major releases. We would provide upgrade guides for major version upgrades, when that happens.
Usage
You'll need the endpoint and API key from UptimeRobot instructions. Currently UptimeRobot API version 3 (v3) is suppported.
Get started with a simple example:
use worlddevs\Environment; use worlddevs\UserService; Environment::configure($endpoint, $api_key); $result = UserService::retrieve(); print_r($result);
Array
(
[email] => <<redacted>>
[fullName] => <<redacted>>
[monitorsCount] => 15
[monitorLimit] => 100
[smsCredits] => 5
[activeSubscription] => Array
(
[plan] => <<redacted>>
[monitorLimit] => <<redacted>>
[expirationDate] => <<redacted>>
[status] => active
)
)
Available Services
The following are supported:
- Incident
- Integration
- Maintenance Windows
- Monitor Groups
- Monitor
- Public status page Announcements (new)
- Public status pages
- Tags
- User