PHPackages                             illuma-law/healthcheck-stripe - 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. [Payment Processing](/categories/payments)
4. /
5. illuma-law/healthcheck-stripe

ActiveLibrary[Payment Processing](/categories/payments)

illuma-law/healthcheck-stripe
=============================

Focused stripe health check for Spatie's Laravel Health package.

v0.1.4(1mo ago)062MITPHPPHP ^8.3CI passing

Since Apr 20Pushed 1mo agoCompare

[ Source](https://github.com/illuma-law/healthcheck-stripe)[ Packagist](https://packagist.org/packages/illuma-law/healthcheck-stripe)[ Docs](https://github.com/illuma-law/healthcheck-stripe)[ GitHub Sponsors](https://github.com/illuma-law)[ RSS](/packages/illuma-law-healthcheck-stripe/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (17)Versions (6)Used By (0)

Healthcheck stripe for Laravel
==============================

[](#healthcheck-stripe-for-laravel)

[![Tests](https://github.com/illuma-law/healthcheck-stripe/actions/workflows/run-tests.yml/badge.svg)](https://github.com/illuma-law/healthcheck-stripe/actions)[![Packagist License](https://camo.githubusercontent.com/e60623f508586f049d48cfb8396ee411b0c9bc3be174381a1893c37462a3c1e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e63652d4d49542d626c7565)](http://choosealicense.com/licenses/mit/)[![Latest Stable Version](https://camo.githubusercontent.com/a65013cf2fc229a337376009870284eac9fbd636ae5c88d714ce7b333d09e1c7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696c6c756d612d6c61772f6865616c7468636865636b2d7374726970653f6c6162656c3d56657273696f6e)](https://packagist.org/packages/illuma-law/healthcheck-stripe)

A focused stripe health check for Spatie's [Laravel Health](https://spatie.be/docs/laravel-health/v1/introduction) package.

This package provides a simple, direct health check to verify that your Stripe API credentials are valid and that the Stripe API is reachable.

Features
--------

[](#features)

- **Connectivity Check:** Verifies that your Laravel application can successfully connect to Stripe's API.
- **Latency Monitoring:** Measures the response time of the Stripe API. If it exceeds a threshold (1500ms), the check will degrade to a Warning state.
- **Credential Validation:** Ensures that your `CASHIER_SECRET` or `STRIPE_SECRET` is correctly configured and accepted by Stripe.

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

[](#installation)

Require this package with composer:

```
composer require illuma-law/healthcheck-stripe
```

Usage &amp; Integration
-----------------------

[](#usage--integration)

Register the check inside your application's health service provider (e.g. `AppServiceProvider` or a dedicated `HealthServiceProvider`), alongside your other Spatie Laravel Health checks:

### Basic Registration

[](#basic-registration)

```
use IllumaLaw\HealthCheckStripe\StripeConnectivityCheck;
use Spatie\Health\Facades\Health;

Health::checks([
    StripeConnectivityCheck::new(),
]);
```

### Expected Result States

[](#expected-result-states)

The check interacts with the Spatie Health dashboard and JSON endpoints using these states:

- **Ok:** Stripe API credentials are valid and the service is responsive.
- **Warning:** Stripe responded successfully, but the response time was higher than 1500ms.
- **Failed:** Stripe was unreachable, the secret key is missing, or the API returned an authentication error.

Testing
-------

[](#testing)

Run the test suite:

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance91

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~2 days

Total

5

Last Release

44d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2affac64f2726a640084b203503518ca01f582536d60a0a299b614486ed95aaa?d=identicon)[miguelenes](/maintainers/miguelenes)

---

Top Contributors

[![miguelenes](https://avatars.githubusercontent.com/u/1568086?v=4)](https://github.com/miguelenes "miguelenes (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

laravelhealthstripeilluma-law

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/illuma-law-healthcheck-stripe/health.svg)

```
[![Health](https://phpackages.com/badges/illuma-law-healthcheck-stripe/health.svg)](https://phpackages.com/packages/illuma-law-healthcheck-stripe)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[spatie/laravel-health

Monitor the health of a Laravel application

88011.3M149](/packages/spatie-laravel-health)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k28.4M134](/packages/laravel-cashier)[laravel/ai

The official AI SDK for Laravel.

9782.1M153](/packages/laravel-ai)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

436834.4k1](/packages/clickbar-laravel-magellan)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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