PHPackages                             ontherocksoftware/laravelredambergreen - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ontherocksoftware/laravelredambergreen

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ontherocksoftware/laravelredambergreen
======================================

Laravel package to easily update business KPI monitors for your software or service.

v1.0.1(4y ago)2721MITPHP

Since Jul 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/otrsw/laravelredambergreen)[ Packagist](https://packagist.org/packages/ontherocksoftware/laravelredambergreen)[ Docs](https://github.com/ontherocksoftware/laravelredambergreen)[ RSS](/packages/ontherocksoftware-laravelredambergreen/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

LaravelRedAmberGreen
====================

[](#laravelredambergreen)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5bffc87434b2921e0cc24c262fe1004788af5b5184d157eddd9f087a61997e88/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f6e746865726f636b736f6674776172652f6c61726176656c726564616d626572677265656e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ontherocksoftware/laravelredambergreen)[![Total Downloads](https://camo.githubusercontent.com/b5355ddc6e03d9ab6974f11b9f6de6fe29f5a23d2f8c12b8cceee0d508b8698b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6e746865726f636b736f6674776172652f6c61726176656c726564616d626572677265656e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ontherocksoftware/laravelredambergreen)[![GitHub Tests Action Status](https://camo.githubusercontent.com/64a06b168d0a2b0f1fc4ce8e8d221eff06ea00fbac3572a3b49b0dbf9e6131db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6f747273772f6c61726176656c726564616d626572677265656e2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/otrsw/laravelredambergreen/actions?query=workflow%3Arun-tests+branch%3Aproduction)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/884e8546fba39d7f5ae0fc2471d6181220d924ef576188d11dd74b710209b4b1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6f747273772f6c61726176656c726564616d626572677265656e2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/otrsw/laravelredambergreen/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Aproduction)

Quick and simple way to expose realtime business KPIs of your system or software to your user community.

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

[](#installation)

You can install the package via composer:

```
composer require ontherocksoftware/laravelredambergreen
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Ontherocksoftware\LaravelRedAmberGreen\LaravelRedAmberGreenServiceProvider"
```

This is the contents of the published config file:

```
return [

    /**
     * Your API token. Obtain from your account at https://app.red-amber.green/
     */
    'token' => env('RAG_API_TOKEN','YOUR_TOKEN'),

    /**
     * If you prefer to use the service without exceptions, set this to false
     */

     'exceptions' => env('RAG_WITH_EXCEPTIONS',true)

];
```

Usage
-----

[](#usage)

```
use Ontherocksoftware\LaravelRedAmberGreen\Facades\LaravelRedAmberGreen;

/**
 * Assuming you added a monitor to your account named 'Stock Levels' you can interact with that monitor
 * using the static methods provided:
 */

//Your code here to check stock levels....

//If all good just set to green
LaravelRedAmberGreen::green('Stock Levels');

//If you want to provide additional info you can pass a short message and a link to more in depth info
LaravelRedAmberGreen::amber('Stock Levels', 'Stock levels dropped significantly in the last 24 hours', 'https://www.mysystem.com/dashboard/stocklevels');

//And of course if things are already really bad use the red method
LaravelRedAmberGreen::red('Stock Levels', 'We ran out of stock for some products', 'https://www.mysystem.com/dashboard/outofstock');
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Total

2

Last Release

1748d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15993272?v=4)[Heinz Seldte](/maintainers/otrsw)[@otrsw](https://github.com/otrsw)

---

Top Contributors

[![otrsw](https://avatars.githubusercontent.com/u/15993272?v=4)](https://github.com/otrsw "otrsw (21 commits)")

---

Tags

laravelLaravelRedAmberGreen

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ontherocksoftware-laravelredambergreen/health.svg)

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

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

6593.3k1](/packages/adrianorosa-laravel-geolocation)[bakame/laravel-domain-parser

Laravel package to integrate PHP Domain parser.

26534.8k4](/packages/bakame-laravel-domain-parser)

PHPackages © 2026

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