PHPackages                             abrardev/inspire-widget - 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. abrardev/inspire-widget

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

abrardev/inspire-widget
=======================

A Filament widget that displays daily inspirational quotes

v1.0.0(1y ago)20[4 PRs](https://github.com/abrardev99/inspire-widget/pulls)MITPHPPHP ^8.1CI passing

Since Apr 2Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/abrardev99/inspire-widget)[ Packagist](https://packagist.org/packages/abrardev/inspire-widget)[ Docs](https://github.com/abrardev/inspire-widget)[ GitHub Sponsors](https://github.com/AbrarDev)[ RSS](/packages/abrardev-inspire-widget/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (12)Versions (8)Used By (0)

A Filament widget that displays daily inspirational quotes
==========================================================

[](#a-filament-widget-that-displays-daily-inspirational-quotes)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e27ccf4c25f746f00d7a3af93fcdc19b80dc5681e628965b0373081288d343a3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61627261726465762f696e73706972652d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/abrardev/inspire-widget)[![GitHub Tests Action Status](https://camo.githubusercontent.com/a2bc550468e5d3387844e56313bfa0d791db3e3b5183b5183842d03f3e87e63a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61627261726465762f696e73706972652d7769646765742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/abrardev/inspire-widget/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/f69092a77356457e86f3657f676c45df4775081d036fd722245a92f42d247d07/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61627261726465762f696e73706972652d7769646765742f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/abrardev/inspire-widget/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/8a6fe4a7da923efb8eb7a067ab0d6cbc446317d3ac17c50ae6cb913adbb93cfc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61627261726465762f696e73706972652d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/abrardev/inspire-widget)

A fun little Filament widget that displays daily inspirational quotes.

Demo
----

[](#demo)

[![dark screenshot](https://github.com/abrardev99/inspire-widget/raw/dev/art/dark.png)](https://github.com/abrardev99/inspire-widget/blob/dev/art/dark.png)

[![light screenshot](https://github.com/abrardev99/inspire-widget/raw/dev/art/light.png)](https://github.com/abrardev99/inspire-widget/blob/dev/art/light.png)

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

[](#installation)

You can install the package via composer:

```
composer require abrardev/inspire-widget
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="inspire-widget-views"
```

Usage
-----

[](#usage)

### Register Plugin

[](#register-plugin)

In your Filament panel provider, register the plugin as

```
use AbrarDev\InspireWidget\InspireWidgetPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            InspireWidgetPlugin::make()
        ])
}
```

### Active Widget

[](#active-widget)

You can activate widget on dashboard page as follows:

```
use AbrarDev\InspireWidget\Widget\InspireWidget;

public function panel(Panel $panel): Panel
{
    return $panel
            ->widgets([
                Widgets\AccountWidget::class,
                Widgets\FilamentInfoWidget::class,
                InspireWidget::class,
            ])
}
```

InspireWidget will show on top since it has top sorting.

### Customization

[](#customization)

#### Providing your own quotes

[](#providing-your-own-quotes)

You can use plugin to provide an array of your own quotes and Widget will pick them randomally as follows

```
use AbrarDev\InspireWidget\InspireWidgetPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            InspireWidgetPlugin::make()
                ->quotes([
                        'The only limit to our realization of tomorrow is our doubts of today.',
                        'The future belongs to those who believe in the beauty of their dreams.',
                        'Do not wait to strike till the iron is hot, but make it hot by striking.',
                    ])
        ])
}
```

#### Providing your own image

[](#providing-your-own-image)

You can also provide your own image. Make sure image is 2084 x 252

```
use AbrarDev\InspireWidget\InspireWidgetPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            InspireWidgetPlugin::make()
                ->image(
                    new Image(asset('vendor/inspire-widget/images/patrick-carr-pAoo1Rs1Yy8-unsplash.jpg'),
                        __('Photo by :author on :service')
                    )
                )
        ])
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Abrar Ahmad](https://github.com/abrardev99)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance67

Regular maintenance activity

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% 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

458d ago

### Community

Maintainers

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

---

Top Contributors

[![abrardev99](https://avatars.githubusercontent.com/u/54532330?v=4)](https://github.com/abrardev99 "abrardev99 (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravelabrardevinspire-widget

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/abrardev-inspire-widget/health.svg)

```
[![Health](https://phpackages.com/badges/abrardev-inspire-widget/health.svg)](https://phpackages.com/packages/abrardev-inspire-widget)
```

###  Alternatives

[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[ysfkaya/filament-phone-input

A phone input component for Laravel Filament

3161.3M25](/packages/ysfkaya-filament-phone-input)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

94135.4k5](/packages/marcelweidum-filament-expiration-notice)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[stephenjude/filament-debugger

About

104162.2k2](/packages/stephenjude-filament-debugger)

PHPackages © 2026

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