Skip to content

Add support for Filament v4 and v5#45

Merged
howdu merged 7 commits into
mainfrom
feature/4.x
Jan 27, 2026
Merged

Add support for Filament v4 and v5#45
howdu merged 7 commits into
mainfrom
feature/4.x

Conversation

@howdu

@howdu howdu commented Jan 27, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces significant updates to improve compatibility, streamline development workflows, and enhance the UI for the Filament Clear Cache plugin. The main changes include adding support for newer PHP, Laravel, and Filament versions, updating dependencies, improving the GitHub Actions workflow, and refactoring the cache clear button UI. Additionally, there are updates to testing practices and documentation.

Compatibility and Dependency Updates:

  • Expanded support to PHP 8.2+, Laravel 11/12, and Filament 4.x/5.x by updating the composer.json requirements and reflecting these changes in the compatibility table in README.md. [1] [2]
  • Updated development dependencies for Pest, Testbench, and Larastan, and modernized composer scripts for linting and testing. [1] [2]

CI/CD and Workflow Improvements:

  • Enhanced the GitHub Actions workflow to test against PHP 8.1–8.5, Laravel 10–12, and Filament 4–5, including caching Composer dependencies and validating composer files for stricter CI. [1] [2]
  • Added a backup workflow file .github/workflows/run-tests.yml.bak for reference.

UI/UX Enhancements:

  • Refactored the cache clear button to use Filament's icon-button component, improved loading indicators, and updated the badge display for cache count.

Codebase and Internal Refactoring:

  • Updated the plugin version to 3.0.0 and refactored registration logic for Livewire v3+ compatibility, including dynamic component registration and namespace handling. [1] [2]
  • Cleaned up test setup by removing redundant user creation and actingAs logic from the test case base class, moving it into individual tests. [1] [2] [3] [4]

Documentation and Configuration:

  • Updated the compatibility matrix and usage instructions in README.md to reflect new version support and Livewire v3+ event dispatching. [1] [2]
  • Minor improvements to composer.json keywords and configuration.
  • Adjusted phpstan.neon.dist to include the config directory for static analysis.

@howdu howdu force-pushed the feature/4.x branch 9 times, most recently from 1eb2309 to fb04767 Compare January 27, 2026 18:59
Add coverage
Simplify tests
Fix phpstan
@howdu howdu force-pushed the feature/4.x branch 3 times, most recently from 1aa0686 to 428fffc Compare January 27, 2026 19:40
@howdu howdu merged commit 6c952fc into main Jan 27, 2026
8 checks passed
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.

1 participant