Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
02f7122
fix: use nwidart Module facade explicitly for v13 compatibility
coolsam726 Jun 13, 2026
ed3efcc
ci: run tests on 5.x and feature branches
coolsam726 Jun 13, 2026
4927a74
fix: repair v5 CI matrix and update repo URLs after transfer
coolsam726 Jun 13, 2026
efb4f2a
Fix styling
coolsam726 Jun 13, 2026
e0e3af3
fix: Windows CI shell and PHPStan config
coolsam726 Jun 13, 2026
c505275
fix: remove Resource import conflicting with PHP 8.4 class name
coolsam726 Jun 13, 2026
493d176
Fix styling
coolsam726 Jun 13, 2026
086dd1b
fix: make PHPStan pass on 5.x with stubs and baseline
coolsam726 Jun 13, 2026
1d844b3
fix: drop auto Pint CI and alias Filament Resource parent
coolsam726 Jun 13, 2026
92615af
fix: repair v5 CI matrix and update repo URLs after transfer (#174)
coolsam726 Jun 13, 2026
cf792c3
docs: point CI badge at 5.x and use for-the-badge style
coolsam726 Jun 13, 2026
ceb0277
docs: point CI badge at 5.x and use for-the-badge style (#175)
coolsam726 Jun 13, 2026
ec6b95d
test: add v5 regression coverage and fix widget access recursion
coolsam726 Jun 13, 2026
7d49550
fix: wrap new expression for PHP 8.3 method chaining
coolsam726 Jun 13, 2026
e40fe05
fix: avoid chained new expression in ResourceClassTest
coolsam726 Jun 13, 2026
95a2078
fix: normalize module paths on Windows for macros and namespace conve…
coolsam726 Jun 13, 2026
9e0ad65
test: add v5 regression coverage and fix widget access recursion (#176)
coolsam726 Jun 13, 2026
1448620
fix: resolve custom namespace providers and panel module names
coolsam726 Jun 13, 2026
eef6b46
fix: custom namespace providers, panel names, and theme command (#177)
coolsam726 Jun 13, 2026
b7016a4
feat: add Laravel 13 support on 5.x
coolsam726 Jun 13, 2026
e3b79da
chore: replace abandoned nunomaduro/larastan with larastan/larastan
coolsam726 Jun 13, 2026
cda1f2f
fix: avoid coverage driver warning failing CI on Pest 4
coolsam726 Jun 13, 2026
fda2e3c
feat: add Laravel 13 support on 5.x (#178)
coolsam726 Jun 13, 2026
ae92f14
ci: add Codecov workflow and coverage badge on 5.x
coolsam726 Jun 13, 2026
d62e070
ci: add Codecov workflow and coverage badge (#179)
coolsam726 Jun 13, 2026
c4c72f8
chore: disable Cursor PR attribution for this repository
coolsam726 Jun 13, 2026
3ed4e98
chore: disable Cursor PR attribution (#180)
coolsam726 Jun 13, 2026
1158904
fix: update changelog via PR on release branch
coolsam726 Jun 13, 2026
2b2ea6d
test: improve library coverage and fix packagePath helper
coolsam726 Jun 13, 2026
2a378ee
fix: normalize generated paths on Windows
coolsam726 Jun 13, 2026
97d9a98
ci: add PHP 8.5 to the test matrix
coolsam726 Jun 13, 2026
095eb81
ci: drop PHP 8.5 with Laravel 11 from test matrix
coolsam726 Jun 13, 2026
ed54bc2
test: reach full coverage for GeneratesModularFiles concern
coolsam726 Jun 13, 2026
9c82c2d
test: expand coverage for Modules, ModulesPlugin, and ModulesServiceP…
coolsam726 Jun 13, 2026
c1d9957
ci: enforce a 98% minimum code coverage threshold
coolsam726 Jun 13, 2026
154d9e8
test: cover modules:install command on ModulesServiceProvider
coolsam726 Jun 13, 2026
8690379
fix: changelog workflow and improve test coverage (#182)
coolsam726 Jun 13, 2026
e2150ea
docs: update CHANGELOG for v5.3.1 (#183)
github-actions[bot] Jun 13, 2026
5b7b995
fix: merge changelog PR when auto-merge is unavailable (#184)
coolsam726 Jun 13, 2026
4051b3f
docs: update CHANGELOG for v5.3.2 (#186)
github-actions[bot] Jun 13, 2026
d7d2662
sync: merge 5.x maintenance into main for v6 parity
coolsam726 Jun 13, 2026
a19b98b
test: cover v6 module runtime to restore 98% coverage threshold
coolsam726 Jun 13, 2026
81228c7
fix: satisfy PHPStan for module activator and registry types
coolsam726 Jun 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .cursor/cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"attribution": {
"attributePRsToAgent": false
}
}
11 changes: 11 additions & 0 deletions .cursor/rules/pull-requests.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
description: Do not add Cursor branding to pull requests
alwaysApply: true
---

# Pull requests

When creating or editing GitHub pull request descriptions (`gh pr create`, `gh pr edit`):

- Do **not** append "Made with Cursor", "Made with [Cursor](https://cursor.com)", or any similar agent/IDE attribution footer.
- PR bodies should contain only the summary, notes, and test plan relevant to the change.
27 changes: 0 additions & 27 deletions .github/workflows/fix-php-code-style-issues.yml

This file was deleted.

4 changes: 1 addition & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ on:
- '**.php'
- 'phpstan.neon.dist'
- 'composer.json'
- 'composer.lock'
pull_request:
branches: [ main, 5.x ]
paths:
- '**.php'
- 'phpstan.neon.dist'
- 'composer.json'
- 'composer.lock'

jobs:
phpstan:
Expand All @@ -35,7 +33,7 @@ jobs:
- name: Install dependencies
uses: ramsey/composer-install@v3
with:
composer-options: '--prefer-dist --no-scripts'
composer-options: '--prefer-dist'

- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github
56 changes: 56 additions & 0 deletions .github/workflows/run-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: run-coverage

on:
push:
branches: [ main, 5.x ]
pull_request:
branches: [ main, 5.x ]

concurrency:
group: coverage-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
coverage:
runs-on: ubuntu-latest
timeout-minutes: 15
name: Code coverage · PHP 8.4 · Laravel 13

steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, intl, gd, exif, iconv, fileinfo
coverage: pcov
tools: composer:v2

- name: Install dependencies
env:
COMPOSER_PROCESS_TIMEOUT: 0
run: |
composer require \
"laravel/framework:^13.10" \
"orchestra/testbench:^11.0" \
"pestphp/pest-plugin-laravel:^4.0" \
"pestphp/pest-plugin-livewire:^4.0" \
--dev \
--no-interaction \
--no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-scripts
composer dump-autoload

- name: Run tests with coverage
run: |
mkdir -p build/logs
vendor/bin/pest --ci --coverage --min=98 --coverage-clover=build/logs/clover.xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/logs/clover.xml
fail_ci_if_error: false
61 changes: 37 additions & 24 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,37 +21,39 @@ jobs:
- php: '8.3'
laravel: ^12.0
testbench: ^10.0
pest: ^3.8
pest-laravel: ^3.1
pest-livewire: ^3.0
os: ubuntu-latest
- php: '8.4'
laravel: ^12.0
testbench: ^10.0
pest: ^3.8
pest-laravel: ^3.1
pest-livewire: ^3.0
os: ubuntu-latest
- php: '8.3'
laravel: ^13.0
laravel: ^13.10
testbench: ^11.0
pest: ^4.4
pest-laravel: ^4.1
pest-livewire: ^4.1
pest-plugin-laravel: ^4.0
pest-plugin-livewire: ^4.0
os: ubuntu-latest
- php: '8.4'
laravel: ^13.0
laravel: ^13.10
testbench: ^11.0
pest: ^4.4
pest-laravel: ^4.1
pest-livewire: ^4.1
pest-plugin-laravel: ^4.0
pest-plugin-livewire: ^4.0
os: ubuntu-latest
- php: '8.5'
laravel: ^12.0
testbench: ^10.0
os: ubuntu-latest
- php: '8.5'
laravel: ^13.10
testbench: ^11.0
pest: ^4.4
pest-plugin-laravel: ^4.0
pest-plugin-livewire: ^4.0
os: ubuntu-latest
- php: '8.3'
laravel: ^12.0
testbench: ^10.0
pest: ^3.8
pest-laravel: ^3.1
pest-livewire: ^3.0
os: windows-latest

name: PHP ${{ matrix.php }} · Laravel ${{ matrix.laravel }} · ${{ matrix.os }}
Expand All @@ -69,20 +71,31 @@ jobs:
tools: composer:v2

- name: Install dependencies
shell: bash
env:
COMPOSER_PROCESS_TIMEOUT: 0
run: |
composer require \
"laravel/framework:${{ matrix.laravel }}" \
"orchestra/testbench:${{ matrix.testbench }}" \
"pestphp/pest:${{ matrix.pest }}" \
"pestphp/pest-plugin-laravel:${{ matrix.pest-laravel }}" \
"pestphp/pest-plugin-livewire:${{ matrix.pest-livewire }}" \
--dev \
--no-interaction \
--no-update
PACKAGES=(
"laravel/framework:${{ matrix.laravel }}"
"orchestra/testbench:${{ matrix.testbench }}"
)

if [ -n "${{ matrix.pest }}" ]; then
PACKAGES+=("pestphp/pest:${{ matrix.pest }}")
fi

if [ -n "${{ matrix.pest-plugin-laravel }}" ]; then
PACKAGES+=("pestphp/pest-plugin-laravel:${{ matrix.pest-plugin-laravel }}")
fi

if [ -n "${{ matrix.pest-plugin-livewire }}" ]; then
PACKAGES+=("pestphp/pest-plugin-livewire:${{ matrix.pest-plugin-livewire }}")
fi

composer require "${PACKAGES[@]}" --dev --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-scripts
composer dump-autoload

- name: Run tests
shell: bash
run: vendor/bin/pest --ci
60 changes: 54 additions & 6 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

permissions:
contents: write
pull-requests: write

jobs:
update:
Expand All @@ -15,17 +16,64 @@ jobs:
- name: Checkout code
uses: actions/checkout@v6
with:
ref: main
ref: ${{ github.event.release.tag_name }}
fetch-depth: 0

- name: Resolve changelog branch
id: changelog-branch
run: |
target="${{ github.event.release.target_commitish }}"

if git show-ref --verify --quiet "refs/remotes/origin/${target}"; then
echo "name=${target}" >> "$GITHUB_OUTPUT"
exit 0
fi

branch="$(git branch -r --contains "${{ github.event.release.tag_name }}" \
| sed 's|^[[:space:]]*origin/||' \
| grep -Ev 'HEAD|pull' \
| head -1)"

if [ -z "${branch}" ]; then
echo "Could not resolve branch for tag ${{ github.event.release.tag_name }}" >&2
exit 1
fi

echo "name=${branch}" >> "$GITHUB_OUTPUT"

- name: Checkout changelog branch
run: git checkout -B "${{ steps.changelog-branch.outputs.name }}" "origin/${{ steps.changelog-branch.outputs.name }}"

- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ github.event.release.name }}
release-notes: ${{ github.event.release.body }}

- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v7
- name: Create pull request
id: create-pull-request
uses: peter-evans/create-pull-request@v7
with:
branch: main
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
base: ${{ steps.changelog-branch.outputs.name }}
branch: changelog/${{ github.event.release.tag_name }}
commit-message: Update CHANGELOG
title: "docs: update CHANGELOG for ${{ github.event.release.name }}"
body: |
Automated changelog update for release ${{ github.event.release.name }}.

Tag: ${{ github.event.release.tag_name }}
Branch: ${{ steps.changelog-branch.outputs.name }}
Triggered by: ${{ github.event.release.html_url }}
delete-branch: true

- name: Merge pull request
if: steps.create-pull-request.outputs.pull-request-operation == 'created' || steps.create-pull-request.outputs.pull-request-operation == 'updated'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PR="${{ steps.create-pull-request.outputs.pull-request-number }}"

# Auto-merge only works when required checks are still pending. Changelog PRs
# target branches without required status checks, so GitHub rejects --auto with
# "Pull request is in clean status" and the PR must be merged directly instead.
gh pr merge "$PR" --auto --squash || gh pr merge "$PR" --squash --delete-branch
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

All notable changes to `modules` will be documented in this file.

## v5.3.2 - 2026-06-13

### What's Changed

* docs: update CHANGELOG for v5.3.1 by @github-actions[bot] in https://github.com/coolsam726/filament-modules/pull/183
* fix: merge changelog PR when auto-merge is unavailable by @coolsam726 in https://github.com/coolsam726/filament-modules/pull/184

### New Contributors

* @github-actions[bot] made their first contribution in https://github.com/coolsam726/filament-modules/pull/183

**Full Changelog**: https://github.com/coolsam726/filament-modules/compare/v5.3.1...v5.3.2

## v5.3.1 - 2026-06-13

### What's Changed

* fix: changelog workflow and improve test coverage by @coolsam726 in https://github.com/coolsam726/filament-modules/pull/182

**Full Changelog**: https://github.com/coolsam726/filament-modules/compare/v5.3.0...v5.3.1

## v5.1.0 - 2026-01-26

### What's Changed
Expand Down
Loading
Loading