PHPackages                             cronguard/cronguard-php - 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. cronguard/cronguard-php

ActiveLibrary[API Development](/categories/api)

cronguard/cronguard-php
=======================

Oficial PHP SDK para Cronguard API

v1.0.0(3mo ago)13MITPHPPHP ^8.1

Since Feb 4Pushed 3mo ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

Cronguard PHP SDK
=================

[](#cronguard-php-sdk)

The PHP SDK for the Cronguard API.

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

[](#installation)

You can install the package via composer:

```
composer require cronguard/cronguard-php
```

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

[](#requirements)

- PHP 8.1 or higher
- Guzzle HTTP Client

Basic Usage
-----------

[](#basic-usage)

Instantiate the client with your API key:

```
use Cronguard\Client;

$client = new Client('YOUR_API_KEY');
```

### Ping

[](#ping)

You can ping a monitor using its UUID:

```
$client->ping('MONITOR_UUID');
```

### Monitors

[](#monitors)

List all monitors:

```
$monitors = $client->monitors()->list();
```

Create a new monitor:

```
// Name, Period (seconds), Grace (seconds)
$newMonitor = $client->monitors()->create('Backup Database', 3600, 300);
```

Get a specific monitor:

```
$monitor = $client->monitors()->get('MONITOR_ID');
```

Update a monitor:

```
$client->monitors()->update('MONITOR_ID', [
    'name' => 'New Name',
    'period_seconds' => 7200
]);
```

Delete a monitor:

```
$client->monitors()->delete('MONITOR_ID');
```

Get monitor events:

```
$events = $client->monitors()->events('MONITOR_ID');
```

### Notifications

[](#notifications)

List notifications (paginated):

```
$notifications = $client->notifications()->list(page: 1);
```

Testing
-------

[](#testing)

To run the tests:

```
./vendor/bin/phpunit
```

License
-------

[](#license)

MIT

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance81

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

101d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0826c8d1a17779d2acdfcf36cf493185ddac804a509e0433ee36b6397ce75541?d=identicon)[samuelazvedo](/maintainers/samuelazvedo)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cronguard-cronguard-php/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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