PHPackages                             laravilt/widgets - 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. [Admin Panels](/categories/admin)
4. /
5. laravilt/widgets

ActiveLibrary[Admin Panels](/categories/admin)

laravilt/widgets
================

Complete dashboard widget system with stats, charts, and custom widgets. Display key metrics and data visualizations with stats overview, line/bar/pie charts, and beautiful responsive widgets for dashboards.

1.0.2(4mo ago)0258↓31.4%1MITVuePHP ^8.3|^8.4CI passing

Since Dec 11Pushed 4mo agoCompare

[ Source](https://github.com/laravilt/widgets)[ Packagist](https://packagist.org/packages/laravilt/widgets)[ GitHub Sponsors](https://github.com/fadymondy)[ RSS](/packages/laravilt-widgets/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (14)Versions (4)Used By (1)

[![widgets](https://raw.githubusercontent.com/laravilt/widgets/master/arts/screenshot.jpg)](https://raw.githubusercontent.com/laravilt/widgets/master/arts/screenshot.jpg)

Laravilt Widgets
================

[](#laravilt-widgets)

[![Latest Stable Version](https://camo.githubusercontent.com/7ebf33b4939a4b339da497dbfa44a75cc7b9c703cc7f9baeead800d51795d8dc/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176696c742f776964676574732f76657273696f6e2e737667)](https://packagist.org/packages/laravilt/widgets)[![License](https://camo.githubusercontent.com/c2b5976a6d2e789424ca0016334bf1193f04642c768ef9615b6adad88cd381d1/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176696c742f776964676574732f6c6963656e73652e737667)](https://packagist.org/packages/laravilt/widgets)[![Downloads](https://camo.githubusercontent.com/ccf08868810538ae66a6a392e055ff697be2e48ff63a9da7f09c2fba82a9e4ac/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176696c742f776964676574732f642f746f74616c2e737667)](https://packagist.org/packages/laravilt/widgets)[![Dependabot Updates](https://github.com/laravilt/widgets/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/laravilt/widgets/actions/workflows/dependabot/dependabot-updates)[![PHP Code Styling](https://github.com/laravilt/widgets/actions/workflows/fix-php-code-styling.yml/badge.svg)](https://github.com/laravilt/widgets/actions/workflows/fix-php-code-styling.yml)[![Tests](https://github.com/laravilt/widgets/actions/workflows/tests.yml/badge.svg)](https://github.com/laravilt/widgets/actions/workflows/tests.yml)

Complete dashboard widget system with stats, charts, and custom widgets for Laravilt. Display key metrics and data visualizations with beautiful, responsive widgets.

Features
--------

[](#features)

- 📊 **Stats Overview** - Display key metrics with trends and mini charts
- 📈 **Line Charts** - Area and line charts with multiple datasets
- 📊 **Bar Charts** - Vertical/horizontal bars with stacking
- 🥧 **Pie Charts** - Pie and doughnut with percentage legends
- 🔄 **Auto-Polling** - Real-time data updates
- 🎨 **Customization** - Colors, themes, icons
- 📱 **Responsive** - Mobile-friendly layouts

Widget Types
------------

[](#widget-types)

WidgetDescription`StatsOverviewWidget`Multiple stats in responsive grid`LineChartWidget`Line/area charts with trends`BarChartWidget`Vertical/horizontal bar charts`PieChartWidget`Pie and doughnut chartsQuick Examples
--------------

[](#quick-examples)

### Stats Overview

[](#stats-overview)

```
use Laravilt\Widgets\StatsOverviewWidget;
use Laravilt\Widgets\Stat;

StatsOverviewWidget::make()
    ->columns(4)
    ->stats([
        Stat::make('Revenue', fn() => '$' . number_format(Order::sum('total'), 2))
            ->description('+12% from yesterday')
            ->descriptionIcon('TrendingUp', 'success')
            ->icon('DollarSign')
            ->color('success'),

        Stat::make('Orders', fn() => Order::count())
            ->description('Completed today')
            ->icon('ShoppingCart')
            ->color('primary')
            ->chart('bar', [8, 12, 15, 18, 22], 'primary'),
    ])
    ->polling(30); // Refresh every 30 seconds
```

### Line Chart

[](#line-chart)

```
use Laravilt\Widgets\LineChartWidget;

LineChartWidget::make(
    labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May'],
    datasets: [[
        'label' => 'Sales',
        'data' => [4500, 5200, 4800, 6100, 5900],
        'borderColor' => 'rgb(34, 197, 94)',
    ]]
)
    ->heading('Revenue Trend')
    ->curved()
    ->fill()
    ->height(350);
```

### Pie Chart

[](#pie-chart)

```
use Laravilt\Widgets\PieChartWidget;

PieChartWidget::make(
    labels: ['Featured', 'Regular'],
    data: [150, 350]
)
    ->heading('Product Distribution')
    ->doughnut()
    ->showLegend()
    ->showPercentage();
```

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

[](#installation)

```
composer require laravilt/widgets
```

Generator Commands
------------------

[](#generator-commands)

```
php artisan make:widget UserStatsWidget --stats
php artisan make:widget SalesChartWidget --chart=line
php artisan make:widget RevenueChartWidget --chart=bar
php artisan make:widget CategoryChartWidget --chart=pie
```

Documentation
-------------

[](#documentation)

- **[Complete Documentation](docs/index.md)** - All widget types and configuration
- **[MCP Server Guide](docs/mcp-server.md)** - AI agent integration

License
-------

[](#license)

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

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance74

Regular maintenance activity

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~3 days

Total

3

Last Release

148d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2147eb2fca7ab5f0124d0fafd88ba2d2a5dfa3a0036fb8872d1084b7cba29366?d=identicon)[fadymondy](/maintainers/fadymondy)

---

Top Contributors

[![fadymondy](https://avatars.githubusercontent.com/u/11937812?v=4)](https://github.com/fadymondy "fadymondy (28 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

---

Tags

laravelinertiadashboardwidgetsstatsstatisticschartsvuevisualizationlaravilt

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/laravilt-widgets/health.svg)

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

###  Alternatives

[digital-creative/nova-dashboard

The missing dashboard for nova.

7169.3k1](/packages/digital-creative-nova-dashboard)

PHPackages © 2026

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