aabosham/filament-spark-pie

This is my package filament-spark-pie
13,869 8
Install
composer require aabosham/filament-spark-pie
Latest Version:v2.0.0
PHP:^8.0 || ^8.1 || ^8.2
License:MIT
Last Updated:Oct 9, 2023
Links: GitHub  ·  Packagist
Maintainer: AAbosham

This is my package filament-spark-pie

Latest Version on Packagist

Total Downloads

Pie chart for laravel filament

Preview

preview

Installation

You can install the package via composer:

For filament v3

composer require aabosham/filament-spark-pie:"^2.0"

For filament v2

composer require aabosham/filament-spark-pie:"^0.0.4"

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-spark-pie-views"

Usage

Table

On your filament resource file

use AAbosham\FilamentSparkPie\Tables\Columns\SparkPieColumn;

On your filament table schema

use AAbosham\FilamentSparkPie\Tables\Columns\SparkPieColumn;

SparkPieColumn::make('rate')
    ->size(70) // height
    ->color('green') // green , #598989
    ->suffix('%') // or prefix

Infolist (Only for filament v3)

On your filament Infolist schema

use AAbosham\FilamentSparkPie\Infolists\Components\SparkPieEntry;

SparkPieEntry::make('rate')
    ->size(70) // height
    ->color('green') // green , #598989
    ->suffix('%') // or prefix

preview-entry

Credits

License

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

Related Packages

aabosham/livewire-multi-select

Livewire dropdown select component

7,705 8
aabosham/filament-google-maps-marker

A Filament Field to get coordinates based on Google Maps

886 1
tightenco/ziggy

Use your Laravel named routes in JavaScript.

56,920,205 4,320
spatie/shiki-php

Highlight code using Shiki in PHP

30,532,798 315

Version History

Version Released PHP Laravel License
v2.0.0 ^8.0 || ^8.1 || ^8.2 MIT
v0.0.4 ^8.0 || ^8.1 || ^8.2 MIT
v0.0.3 ^8.1 || ^8.0 ^9.0 MIT
v0.0.2 ^8.1 || ^8.0 ^9.0 MIT
v0.0.1 ^8.1 || ^8.0 ^9.0 MIT