Download the PHP package laboiteacode/filament-dashboard-widgets without Composer

On this page you can find all versions of the php package laboiteacode/filament-dashboard-widgets. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-dashboard-widgets

Filament Dashboard Widgets

Latest Version on Packagist Tests Total Downloads

A collection of ready to use, professional dashboard widgets for Filament, oriented towards SaaS products, CRMs, back-offices and business tools.

Filament ships the primitives; developers keep rebuilding the same KPI cards, goals, progressions, breakdowns and short lists on top of them. This package provides fifteen distinct, polished widgets with a consistent, typed API, a professional look and a quick install with no additional front-end dependencies.

Features

Requirements

Installation

The package works out of the box. Publishing its resources is optional:

Registering the plugin

Register the plugin on your panel:

Each widget shipped by the package is an abstract class. Your application extends it and provides the data. You then register your concrete widgets like any other Filament widget:

Building a widget

MetricWidget

Displays a primary indicator with context and a trend.

Trend semantics:

GoalProgressWidget

Displays the progress towards a goal.

The percentage is capped at 100 by default and the overflow is shown in the text. Call ->allowOverflow() to display the real percentage beyond 100. Zero targets and negative values are handled explicitly.

RecentItemsWidget

Displays a short list of recent items without needing a full table widget.

The "View all" footer is a real Filament action. Return a URL from getViewAllUrl() to reveal it, or override viewAllAction() for full control.

BreakdownWidget

Displays a simple breakdown without forcing a complex chart.

Percentages are computed from the total of the items. Provide an explicit total with getTotal(), sort by descending value with shouldSortByValue(), and cap the number of visible items with the breakdown.limit config.

TrendWidget

Displays a time series with a summary, built on Filament's native chart widget.

The supported types are line, bar and area. The data is prepared in PHP and drawn by Filament's Chart.js integration; no JavaScript ships with this package.

CompositionWidget

Displays a part to whole breakdown as a radial chart, built on Filament's native chart widget.

The supported types are doughnut, pie and polarArea. Slice colours resolve to your panel's registered Filament colours (unassigned slices cycle the default palette), and the total is surfaced in the summary.

DetailListWidget

Displays a sober key to value panel, ideal for record summaries in CRMs and back-offices.

Rows render as a semantic description list. Empty values fall back to a placeholder, and a value can carry a badge, an icon or a link.

BulletWidget

Displays a value against a target with qualitative context bands and an optional benchmark marker (a bullet graph).

The ranges() thresholds draw neutral poor / fair / good context bands, a tick marks the target and a dot marks the benchmark. The status is always textual, so the reading is never carried by colour alone. Use ->lowerIsBetter() when a smaller value is the goal.

FunnelWidget

Displays an ordered conversion funnel with the drop-off between steps.

Each bar tapers relative to the first stage, the connectors show the step conversion, and the overall conversion is summarised at the bottom.

TimelineWidget

Displays a vertical activity or audit feed with relative times.

Times are shown relatively (locale aware), events can be grouped by day, and the footer "View all" is a native Filament action.

VarianceWidget

Displays categories ranked by their change, as diverging bars around a zero axis.

The bar grows right for gains and left for losses. The sign is carried by the side, the signed text and an icon, never by colour alone. Provide an explicit ->change(), or a ->previous() value to derive it, and use ->lowerIsBetter() per item.

SegmentBarWidget

Displays a whole split into proportional segments on a single stacked track, reusing the BreakdownItem object.

The legend below carries the label, value and share, so meaning is never conveyed by colour alone. Provide getTotal() to render unfilled headroom.

UsageLimitsWidget

Tracks consumption against quotas, one meter per resource, with an optional warning threshold.

Each row is a role="meter" progress track. It turns to the warning colour once ->warnThreshold() (a fraction of the limit) is crossed, and to danger when over the limit. Format the value and limit with ->formatUsing().

ComparisonChartWidget

Plots several series against a shared set of labels, for example actual versus target versus forecast, which a single trend line cannot show.

Each series renders as a line or bar (->type()) and takes a Filament colour token via ->color(); series without one cycle the default palette. A ->filled() line series shades the area under the line with a translucent tint of its colour, in light and dark themes alike. Built on Filament's own ChartWidget.

CardWidget

A flexible, customizable card for the pieces a dashboard always needs but that do not warrant a dedicated widget: a highlight, a shortcut, an announcement or a call to action. One widget, four layout variants. Register as many as you like and size each one with Filament's columnSpan.

The four variants share the same fluent object:

Any stat, icon or content card becomes clickable with ->url(), and every colour, badge, icon and button uses Filament's own components and tokens.

Customization

Common options are shared across the widgets:

Widths use Filament's native columnSpan:

Themes

The widgets follow Filament automatically:

Polling

Polling is disabled by default. Set a global default in the config, or override it per widget:

Cache

The package does not cache anything for you, but caching your data is easy:

Translations

English and French translations are shipped. Publish them to customize:

The titles and business data always come from your application; only the shared labels ("View all", "Remaining", "Goal reached", and so on) are translated.

Going further

Testing

Contributing

Please see CONTRIBUTING.md for details.

Security

Please see SECURITY.md for how to report vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of filament-dashboard-widgets with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
filament/filament Version ^4.12|^5.7.1
illuminate/contracts Version ^12.0|^13.0
spatie/laravel-package-tools Version ^1.15
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package laboiteacode/filament-dashboard-widgets contains the following files

Loading the files please wait ...