Skip to content

Add React support and Laravel 13 compatibility - #10

Merged
fadymondy merged 2 commits into
masterfrom
feat/react-support
Sep 15, 2026
Merged

fadymondy merged 2 commits into
masterfrom
feat/react-support

Conversation

@fadymondy

@fadymondy fadymondy commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

What changes

  • spatie/laravel-permission ^8 for Laravel 13.

Shared across all Laravilt packages: every package with a Vue frontend now ships a React 19 + TypeScript twin in resources/react (same props, markup, data-* attributes and server contract, so panels behave the same on both stacks), plus Laravel 13 / Inertia v3 / testbench 11 / Pest 4-5 compatible constraints, PHPStan 2 config, a new cover in the new brand, and Pint formatting.

Verification

  • pest on Laravel 13 (testbench 11, Pest 5): green
  • pint --test: clean
  • The whole React tree type-checks with 0 errors against a Laravel 13 React starter-kit app (tsc --noEmit), and laravilt:install --stack=react builds and logs in end to end in headless Chrome
  • The Vue stack still builds and runs the full demo (32 panel pages crawled with no JS errors)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Broadened supported development and testing package versions for improved compatibility.
    • Updated static analysis configuration to narrowly suppress missing iterable value type warnings.
    • Added an empty baseline configuration for static analysis errors.

- spatie/laravel-permission ^8 for Laravel 13.

Shared changes:
- Laravel 13 / Inertia v3 / testbench 11 / Pest 4-5 compatible constraints, PHPStan 2 config and an empty PHPStan baseline.
- New Laravilt cover in the new brand.
- Pint formatting.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Warning

Review limit reached

Next included review available in 51 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 1b6f289c-386d-485c-9730-1b403885dbb1

📥 Commits

Reviewing files that changed from the base of the PR and between fe1bc18 and a423fd3.

📒 Files selected for processing (1)
  • phpunit.xml

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 117b94cf-d4b4-43eb-9b67-bb843926831d

📥 Commits

Reviewing files that changed from the base of the PR and between 0cc34a6 and fe1bc18.

⛔ Files ignored due to path filters (1)
  • arts/screenshot.jpg is excluded by !**/*.jpg
📒 Files selected for processing (3)
  • composer.json
  • phpstan-baseline.neon
  • phpstan.neon

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The change broadens supported development dependency versions and updates PHPStan configuration. It also reformats one Composer constraint without changing its allowed versions.

Changes

Dependency constraints

Layer / File(s) Summary
Composer compatibility constraints
composer.json
The orchestra/testbench and PEST constraints include additional major versions. The spatie/laravel-permission constraint is reformatted with the same allowed ranges.

PHPStan configuration

Layer / File(s) Summary
PHPStan error configuration
phpstan.neon, phpstan-baseline.neon
The configuration replaces the global missing iterable value type setting with an identifier-specific suppression and adds an empty baseline structure.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to fe1bc

The compatibility and PHPStan configuration changes are mergeable with normal checks.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the two primary objectives: adding React support and updating compatibility for Laravel 13.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/react-support

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.

With PHPUnit 12 (Pest 4/5), configured coverage reports make the test run
exit 1 without running any tests when no coverage driver is installed, which
failed CI. Coverage stays available on demand with pest --coverage.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@fadymondy
fadymondy merged commit 663e04c into master Sep 15, 2026
5 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