PHPackages                             gtmassey/alert-card - 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. gtmassey/alert-card

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

gtmassey/alert-card
===================

A Laravel Nova card.

v1.0(11mo ago)0154MITPHPPHP ^7.3|^8.0

Since Jun 12Pushed 11mo agoCompare

[ Source](https://github.com/gtmassey/nova-alert-card)[ Packagist](https://packagist.org/packages/gtmassey/alert-card)[ RSS](/packages/gtmassey-alert-card/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Nova Info Card
==============

[](#nova-info-card)

A simple alert card to display persistent notices and messages on Nova resources or dashboards. Styled for my personal preferences.

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

[](#installation)

```
composer require gtmassey/alert-card
```

Usage
-----

[](#usage)

```
use Gtmassey\AlertCard\Alert;

//...

public function cards()
{
    return [
        Alert::make()
            ->message('My Message!');
    ];
}
```

### Colors

[](#colors)

There are four alert styles - *primary/info*, *success*, *warning* and *danger*.

```
Alert::make()
    ->message('some message here')
    ->info(),  //this is the default style, applies when no style is declared

Alert::make()
    ->message('some message here')
    ->success(),

Alert::make()
    ->message('some message here')
    ->warning(),

Alert::make()
    ->message('some message here')
    ->danger(),
```

The `info` style uses whatever color you have defined as your primary color in Nova.

[![Heading screenshot](images/colors.png)](images/colors.png)

---

### Headers

[](#headers)

You can add a header to the card using the `heading()` method:

```
Alert::make()
    ->heading('My Heading')
    ->message('some longer message here')
    ->success(),
```

[![Heading screenshot](images/heading.png)](images/heading.png)

---

### Icons

[](#icons)

You can add an icon to the card using the `icon()` method:

```
Alert::make()
    ->heading('My Heading')
    ->message('some longer message here')
    ->success()
    ->icon('check-circle'),
```

Just pass in the name of the corresponding [herocion](https://v1.heroicons.com/) icon.

The icon color will match the color selected for the card.

[![Heading screenshot](images/icon.png)](images/icon.png)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance52

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

334d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f198e204b73532fa68ddd5c60c226cbc25eb9113cfac0bea19337434e944e2d4?d=identicon)[gtmassey](/maintainers/gtmassey)

---

Top Contributors

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

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/gtmassey-alert-card/health.svg)

```
[![Health](https://phpackages.com/badges/gtmassey-alert-card/health.svg)](https://phpackages.com/packages/gtmassey-alert-card)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

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