Skip to content

Filament V5 Support#101

Merged
stephenjude merged 2 commits intostephenjude:3.xfrom
andresilvagomez:filament-v5-support
Feb 9, 2026
Merged

Filament V5 Support#101
stephenjude merged 2 commits intostephenjude:3.xfrom
andresilvagomez:filament-v5-support

Conversation

@andresilvagomez
Copy link
Copy Markdown
Contributor

@andresilvagomez andresilvagomez commented Feb 8, 2026

Summary

  • Update filament/filament constraint from ^4.0 to ^4.0|^5.0
  • Update require-dev pest packages to also accept ^4.0 (for Livewire v4 compatibility)
  • Fix Livewire v4 component name resolution: replace :: with . in Livewire::component() registrations

Livewire v4 Breaking Change

In Livewire v4, :: in component names is treated as a namespace separator, causing resolution to look in classNamespaces instead of classComponents. This silently prevents components from being discovered. Using . as separator ensures proper component resolution in both Livewire v3 and v4.

Test plan

  • Verified all 5 Livewire components resolve correctly with Livewire::exists()
  • Full test suite passes (2198 tests, 0 failures) on a project using Filament v5.2.0 + Livewire v4.1.3

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 8, 2026

📝 Walkthrough

Walkthrough

Expanded composer version constraints to allow newer major releases and adjusted Livewire component registration names in the two-factor authentication service provider (changed :: namespace separators to . and renamed two component keys). No logic or public APIs were otherwise modified.

Changes

Cohort / File(s) Summary
Dependency Version Expansion
composer.json
Widened version ranges: filament/filament from ^4.0 to `^4.0
Livewire Registration Name Changes
src/TwoFactorAuthenticationServiceProvider.php
Updated Livewire component registration identifiers: replaced namespace::path syntax with namespace.path for challenge/recovery/setup pages and renamed two-factor-authentication and passkey-authentication component keys. No class bindings or control flow changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I nibble on semver vines so neat,
I swap colons for dots with a twitching feet,
Composer grows wings to newer skies,
Livewire's names get tidy ties. 🐇✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Filament V5 Support' directly and clearly summarizes the main change: adding support for Filament version 5 by expanding version constraints in composer.json and updating Livewire component registration syntax.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

No actionable comments were generated in the recent review. 🎉

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 PHPStan (2.1.38)

Invalid configuration:
Unexpected item 'parameters › checkOctaneCompatibility'.
Invalid configuration:
Unexpected item 'parameters › checkModelProperties'.
Invalid configuration:
Unexpected item 'parameters › checkMissingIterableValueType'.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Replace :: with . in Livewire component name registrations.

In Livewire v4, :: in component names is treated as a namespace
separator, causing resolution to look in classNamespaces instead of
classComponents. This silently fails to register the components.
Using . as separator ensures proper component discovery.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stephenjude stephenjude merged commit e0d7503 into stephenjude:3.x Feb 9, 2026
2 checks passed
@stephenjude
Copy link
Copy Markdown
Owner

Thanks! @andresilvagomez

Can you confirm, the latest release works fine on your end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants