Expense Management with Dashboard Charts

Filament 4/5
Also available in Filament 3 version

A demonstration of managing expenses and income by categories with chart visualizations on the dashboard.

vRkYt9XdnNGCaKy5LjikGyadlOI3iq-metaQ2hvb3NlIERhdGUgJiBTZWUgQXZhaWxhYmxlIFRpbWVzbG90cyAoNSkucG5n-

Get the Source Code:

Only This Example

$9

One-time payment

Full source code for Expense Management with Dashboard Charts
Downloadable ZIP file with the source code
Lifetime access to this example
GitHub Sign in with GitHub to buy

Sign in first, then complete your $9 checkout.

Best value — all 169 examples

FilamentExamples Membership

$99 /year
or
$199 lifetime
Access to code of all 169 examples
Future new examples and updates included
FilaCheck Pro package licence included
MCP server included
View membership plans

30-day money-back guarantee

How it works

This example project has two navigation groups:

  • Expense
  • Income

In these groups, we have Filament Resource to manage expense or income and their categories.

These resources have identical forms and tables. The table is sorted by entry date in descending order.

Here is the code for the expense and income form and table:

app/Filament/Resources/Incomes/Schemas/IncomeForm.php:

public static function configure(Schema $schema): Schema
{
return $schema
->components([
DatePicker::make('entry_date')
->required(),
TextInput::make('amount')
->numeric()
->required()
->step('0.01'),
Select::make('income_category_id')
->required()
->columnSpanFull()
->relationship('incomeCategory', 'name'),
TextInput::make('description')
->columnSpanFull(),
]);
}

app/Filament/Resources/Incomes/Tables/IncomesTable.php:

public static function configure(Table $table): Table
{
return $table
->columns([
TextColumn::make('entry_date')
->date(),
TextColumn::make('amount')
->money(),
TextColumn::make('incomeCategory.name'),
])
->filters([
TrashedFilter::make(),
])
->recordActions([
EditAction::make(),
])
->toolbarActions([
BulkActionGroup::make([
DeleteBulkAction::make(),
ForceDeleteBulkAction::make(),
RestoreBulkAction::make(),
]),
])
->defaultSort('entry_date', 'desc');
}
The FULL tutorial is available after the purchase: in the Readme file of the official repository you would get invited to.