leandrocfe/
filament-demo
g4t.io

Create Beautiful Charts in Filament With the Apex Charts Plugin

by Paul Redmond

Learn how to easily create beautiful charts in your Filament applications with the Apex Charts plugin for Filament by Leandro Costa Ferreira.

README from leandrocfe/filament-demo Open on GitHub →

Filament Demo

A full-featured demo app built with Filament. It covers a realistic spread of admin panel patterns across three modules, an e-commerce shop, a blog, and an HR suite, so you can see how Filament handles real-world use cases.

Getting started

Clone and install:

git clone https://github.com/filamentphp/demo.git filament-demo && cd filament-demo
composer install
composer setup

Start the dev server:

php artisan serve

Then log in at the URL shown in the terminal:

What's in the box

Shop

Products, orders, customers, brands, and categories: the kind of CRUD you'd find in any e-commerce admin. The shop module demonstrates:

  • Order wizard: multi-step create form with inline customer creation
  • Repeaters: line items on orders and expenses with reactive totals
  • Query builder filters: advanced filtering with text, number, date, and boolean constraints
  • Column summarizers: footer totals for prices and quantities
  • Table grouping: group orders by status, customer, or date
  • Drag-and-drop reordering: sortable brand list
  • Media uploads: multiple product images via Spatie Media Library
  • Soft deletes: restore and force-delete on orders and customers
  • Dashboard: filterable stats, charts, and a latest orders widget with live polling

Blog

Posts, authors, and categories with a focus on content management patterns:

  • Rich text editing: WYSIWYG content editor with prose rendering on the view page
  • Sub-navigation: tabbed navigation between View, Edit, and Comments on posts
  • Manage related records: dedicated comments page without leaving the post context
  • Tags: Spatie Tags integration on posts
  • Import and export actions: CSV import on categories, export on authors
  • Column layouts: split and stack layouts on the authors table
  • Simple resources: authors and categories managed with modals, no separate pages

HR

Employees, departments, projects, tasks, timesheets, leave requests, and expenses: a more complex module showing how Filament scales:

  • Tabbed forms: Personal, Employment, and Documents tabs on employees
  • Builder blocks: milestone, task group, and checkpoint blocks in the project plan
  • Conditional fields: salary vs. hourly rate based on employment type
  • Inline editing: change leave request status directly in the table
  • Status workflows: expense approval, rejection, and reimbursement actions
  • Expense line items: repeatable entries with table layout in the infolist
  • Key-value editor: freeform metadata on employees
  • Checkbox lists: multi-select skills grid
  • Dashboard: headcount stats, leave overview, timesheet trends, and budget charts

Patterns worth looking at

Here are some specific things to poke at if you're learning Filament:

Pattern Where to find it
Wizard form Create a new order
Reactive calculations Edit an expense's line items
Builder blocks Edit a project's Plan tab
Action groups with custom actions Any table row with "..." menu
Slide-over modals Ship an order
Modal forms with actions Send email to a customer
Infolist with repeatable entries View an expense
Sub-navigation View or edit any post
Conditional field visibility Change employment type on an employee
Dashboard filters Shop dashboard date range and customer type
Global search Press Cmd+K anywhere
Keyboard shortcuts Cmd+Shift+P to quick-publish a post
Navigation badges Check sidebar counts on orders, leave requests, and expenses

More from the ecosystem

marcreichel/
laya-php
g4t.io
3 53

LayaPHP: Self-Hosted Text Classification for PHP and Laravel

Classify text in PHP without an LLM bill: typed decisions in 100+ languages, self-hosted. Laravel-ready SDK for Laya, a Jev AI alternative.

ai classification decision-engine
marcreichel/laya-php via Laravel News
Josh-Dovey/
postcodes-laravel
g4t.io
5 9

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Postcodes for Laravel adds typed GB postcode lookups, validation, geography data, distance searches, and test fakes through the GB Postcodes API.

Josh-Dovey/postcodes-laravel via Laravel News
RedberryProducts/
mailbox-for-laravel
g4t.io
4 115

Mailbox for Laravel: Preview and Test Rendered Email

Mailbox for Laravel captures outgoing mail in a local dashboard and lets you test rendered HTML, recipients, and attachments with fluent assertions.

RedberryProducts/mailbox-for-laravel via Laravel News