Skip to content

Commit 26b2523

Browse files
committed
Merge branch 'main' into pr/1162
2 parents 1c72db1 + 86fca9e commit 26b2523

File tree

131 files changed

+4110
-1500
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+4110
-1500
lines changed

app/Enums/Version.php

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,25 @@
44

55
enum Version: string
66
{
7+
case Five = '5.x';
78
case Four = '4.x';
89
case Three = '3.x';
910
case Two = '2.x';
1011
case One = '1.x';
1112

1213
public static function getLatest(): self
1314
{
14-
return self::Four;
15+
return self::Five;
16+
}
17+
18+
public function getLabel(): string
19+
{
20+
return match ($this) {
21+
self::Five => 'v5',
22+
self::Four => 'v4',
23+
self::Three => 'v3',
24+
self::Two => 'v2',
25+
self::One => 'v1',
26+
};
1527
}
1628
}

app/Models/Article.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function isCompatibleWithLatestVersion(): ?bool
7474
return null;
7575
}
7676

77-
return in_array(4, $this->versions);
77+
return in_array(5, $this->versions);
7878
}
7979

8080
public function getAuthor(): Author

app/Models/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function getCategories(): Collection
177177

178178
public function isCompatibleWithLatestVersion(): bool
179179
{
180-
return in_array(4, $this->versions);
180+
return in_array(5, $this->versions);
181181
}
182182

183183
public function getAuthor(): Author
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
title: "Introducing Filament v5 and Filament Blueprint"
3+
slug: danharrin-filament-v5-blueprint
4+
author_slug: danharrin
5+
publish_date: 2026-01-16
6+
categories: [general]
7+
type_slug: news
8+
---
9+
10+
![Filament v5 Release Banner Image](/images/content/articles/danharrin-filament-v5-blueprint/banner.webp)
11+
12+
We're excited to announce **Filament v5** and **Filament Blueprint**, just a week after our [v4.5 release](https://filamentphp.com/content/danharrin-filament-v4-5).
13+
14+
## Why Filament v5?
15+
16+
Filament v5 integrates [Livewire v4](https://livewire.laravel.com/docs/4.x/upgrading), released this week by Caleb Porzio and the Livewire team. Congratulations to them on this major milestone!
17+
18+
We've bumped to a new major version so that projects not requiring `livewire/livewire` directly won't have custom Livewire code broken unexpectedly. Apart from Livewire v4 support, Filament v5 has no additional changes over v4, and we'll continue pushing features to both versions.
19+
20+
Filament v5 has a brief [upgrade guide](https://filamentphp.com/docs/5.x/upgrade-guide) with no manual steps required. As usual, we have an upgrade script to check for compatibility issues and apply changes automatically. If you have custom Livewire components, also follow the [Livewire upgrade guide](https://livewire.laravel.com/docs/4.x/upgrading).
21+
22+
## Introducing Filament Blueprint
23+
24+
We're also launching **Filament Blueprint**, a tool that helps AI coding agents produce better implementation plans for Filament v4 and v5 projects.
25+
26+
### The problem with AI-generated Filament code
27+
28+
When you ask an AI agent to build something with Filament, you typically get a vague, high-level plan that leaves too much to interpretation. The AI might understand what you want, but it doesn't know _how_ Filament actually works. When an agent starts to implement the plan, it often gets component namespaces wrong, misses important configuration details, or creates layouts that don't make sense.
29+
30+
Filament Blueprint is a premium [Laravel Boost](https://laravel.com/ai/boost) extension that feeds your AI agent comprehensive knowledge about Filament's components, patterns, and best practices. When you ask for an implementation plan, the agent produces a detailed specification that can be implemented directly, with no guessing required.
31+
32+
### An example Blueprint plan
33+
34+
Once Blueprint is installed into Laravel Boost, you can use planning mode to ask your agent to create a "Filament Blueprint" for your feature. For example:
35+
36+
```
37+
Using Filament Blueprint, produce an implementation plan for a Filament v4 application. The application is
38+
a SaaS invoicing system with the following capabilities:
39+
40+
- Manage customers
41+
- Manage products
42+
- Create and edit invoices
43+
- Add line items to invoices
44+
- Send invoices to customers
45+
- Record and track payments
46+
47+
The plan should:
48+
- Describe the primary user flows end to end (for example: creating an invoice,
49+
sending it, recording a payment).
50+
- Map each domain concept and flow to concrete Filament primitives (Resources,
51+
Relation Managers, Pages, Actions).
52+
- Identify state transitions (such as draft → sent → paid) and the Actions that
53+
trigger them.
54+
```
55+
56+
We ran this prompt with and without Blueprint installed:
57+
58+
- **[Before Blueprint](https://filamentphp.com/blueprint/examples/invoicing/before.md)** - A typical AI-generated plan: useful structure, but vague on specifics
59+
- **[After Blueprint](https://filamentphp.com/blueprint/examples/invoicing/after.md)** - The Blueprint-enhanced output: a complete implementation specification
60+
61+
The Blueprint output includes:
62+
63+
- **Exact component references** with documentation links for every form field, table column, and action
64+
- **Agent-friendly CLI commands** to generate files with, instead of requiring an agent to start a file from scratch or guess the right non-interactive command
65+
- **Precise configuration chains** like `->relationship('customer', 'name')->searchable()->preload()->createOptionForm([...])`
66+
- **Reactive field specifications** showing exactly how line item totals and invoice totals should auto-calculate with `->live()` and `afterStateUpdated()`
67+
- **Sensible layout choices** that take into account the number of grid columns in different parts of a page to ensure a good user experience
68+
- **Complete action definitions** with visibility rules, modal forms, and behavior specifications
69+
- **Test case design** covering validation, component configuration, action visibility, and business logic
70+
71+
Instead of spending hours correcting AI hallucinations, you get a specification you can implement directly, or hand off to an AI agent.
72+
73+
### Getting started with Blueprint
74+
75+
To celebrate the launch of Blueprint, you can grab a license for **20% off** for a limited time using the code `BPLAUNCH20` at [checkout](https://packages.filamentphp.com/p/blueprint/buy).
76+
77+
Once installed, you can enable planning mode in your AI agent and ask it to create a Filament Blueprint for your feature. You can learn more about Blueprint in our [documentation](https://filamentphp.com/docs/introduction/ai).
78+
79+
## More to come in 2026
80+
81+
We're currently working on a couple of other projects that we hope to share with you in the coming months. Stay tuned!

content/authors/anselmo-kossa.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: Anselmo Kossa
3+
slug: anselmo-kossa
4+
github_url: https://github.com/anselmocossa
5+
twitter_url: https://twitter.com/AnsijahKossa
6+
sponsor_url: https://github.com/sponsors/anselmocossa
7+
---
8+
9+
Full-stack developer from Mozambique, passionate about Laravel and Filament. Creator of open-source packages to enhance the Filament ecosystem, with a focus on practical solutions for real-world applications.
151 KB
Loading
137 KB
Loading
51.3 KB
Loading

content/authors/eduardo-ribeiro.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Eduardo Ribeiro
3+
slug: eduardo-ribeiro
4+
github_url: https://github.com/eduardoribeirodev
5+
---
6+
7+
Brazilian developer who loves turning complex problems into elegant solutions. When I'm not coding anything, I'm probably exploring new technologies or enjoying a good cup of coffee. Creator of Filament Leaflet.

content/authors/promethys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ slug: promethys
44
github_url: https://github.com/promethys
55
---
66

7-
**Promethys is an independent web agency in development, exploring modern, high-performance, and tailor-made digital solutions.**
7+
**Promethys is a group of developers, exploring modern, high-performance, and tailor-made digital solutions.**
88

99
We're currently building the foundation of our tools, methods, and open-source contributions — with a strong focus on clean design, robust development, and API integration.

0 commit comments

Comments
 (0)