Welcome to YTUnity

One free SpiderTaz Network account works across every network site.

Featured creators

Creators on the SpiderTaz Network

Become a creator →

Filament Dashboard Widgets with Charts | Laravel Inventory Management System | Part 19

Webslesson Guide 1 months ago

Description

In this video, we add real charts to our Filament dashboard widgets, building a Laravel Filament dashboard widget for our inventory management dashboard, a line chart showing monthly sales trend, and a bar chart showing our top 5 selling products.

This is proper Laravel analytics, built directly into the admin panel, using a Filament widget chart, Filament's ready made chart widget template. If you are searching for how to build a widget in Filament Laravel, or want to add real dashboard widgets to your own project, this part covers everything, getData, getType, and real database aggregation, step by step.

This is part of a complete Laravel inventory management system, and a great final year project idea, for computer science students. If you are looking for a final year project with free source code, or want to build a real Laravel inventory project, from scratch, this series covers everything, from installation, to a fully working, Laravel Filament inventory system.

━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 WHAT YOU WILL LEARN IN THIS VIDEO
━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Generating a Filament Widget using the chart template
✅ Building a line chart for monthly sales trend
✅ Building a bar chart for top selling products
✅ Using selectRaw, groupBy, and orderByDesc for aggregation
✅ Eager loading relationships inside a widget query
✅ How getType() switches between line, bar, pie, and more

━━━━━━━━━━━━━━━━━━━━━━━━━━━
📂 FILES COVERED IN THIS VIDEO
━━━━━━━━━━━━━━━━━━━━━━━━━━━
📄 app/Filament/Widgets/MonthlySalesChart.php
📄 app/Filament/Widgets/TopSellingProductsChart.php

━━━━━━━━━━━━━━━━━━━━━━━━━━━
📖 BLOG POST + FULL SOURCE CODE
━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌐 Blog Post with Source Code: https://www.webslesson.info/2026/08/laravel-13-filament-5-inventory-management-system.html

━━━━━━━━━━━━━━━━━━━━━━━━━━━
📺 COMPLETE PLAYLIST — Laravel Inventory Management System (Laravel 13 + Filament 5)
━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎬 Part 1 — Installation & Setup: https://youtu.be/796FXMF6joY
🎬 Part 2 — Database Design: https://youtu.be/5dPfGUTR9kE
🎬 Part 3 — Panel Branding & Navigation: https://youtu.be/o7jgfRGvi9s
🎬 Part 4 — Category Module: https://www.youtube.com/watch?v=UsLIgCeDshk
🎬 Part 5 — Unit Module: https://youtu.be/m8EkbuEMG-I
🎬 Part 6 — Supplier Module: https://www.youtube.com/watch?v=q7FE9loMmtM
🎬 Part 7 — Customer Module: https://youtu.be/Iy5M0yht8Fc
🎬 Part 8 — Product Module + File Upload: https://youtu.be/uZFQ2myF7nY
🎬 Part 9 — Warehouse Management: https://youtu.be/1H26vKdQFh8
🎬 Part 10 — Purchase Order Module: https://youtu.be/9novegIuDrg
🎬 Part 11 — Auto Stock Increase (Observers): https://youtu.be/rp4DGFo8blU
🎬 Part 12 — Purchase Detail View Page: https://youtu.be/HBVZ353faDk
🎬 Part 13 — Sale Management Module: https://youtu.be/VZclyNjYeX8
🎬 Part 14 — Auto Stock Decrease (Observers): https://youtu.be/7598X-LzFQc
🎬 Part 15 — Sale Detail View Page: https://youtu.be/0LCcCiau-7c
🎬 Part 16 — Stock Overview: https://youtu.be/VdpXPZHY9wk
🎬 Part 17 — Stock Adjustment: https://youtu.be/r10qOpEBJYI
🎬 Part 18 — Dashboard Widgets: https://youtu.be/tRDCtApGfH0
🎬 Part 19 — Dashboard Charts: (You are here)
🎬 Part 20 — Stock Report: Coming Soon

━━━━━━━━━━━━━━━━━━━━━━━━━━━
#Laravel #Filament #FilamentWidgets #FilamentDashboardWidgets #LaravelAnalytics #LaravelInventoryManagementSystem #InventoryManagementDashboard #LaravelFilamentDashboard #FinalYearProject #FinalYearProjectIdeas #LaravelInventoryProject #LaravelFilament #LaravelTutorial #PHP #WebDevelopment