Skip to content

Allow Laravel 12 - #8

Open
daryledesilva wants to merge 1 commit into
laraneat:masterfrom
daryledesilva:laravel-12
Open

daryledesilva wants to merge 1 commit into
laraneat:masterfrom
daryledesilva:laravel-12

Conversation

@daryledesilva

Copy link
Copy Markdown

3.0.0 requires Laravel 13.12, but nothing in it seems to need 13: the suite passes on Laravel 12 unchanged. This widens the constraint to ^12.0 || ^13.12, so apps still on 12 can use the generic --module generators.

Tested on Laravel 12.69.2, Testbench 10.12, Pest 4.7, PHP 8.4:

  • Your suite: 548 passed, 1 skipped, 1 failed. The failure is Conventions\RoutesTest > it applies every attribute…, which checks the order of moduleRoutes(). Laravel 13 lists routes with a domain first and 12 doesn't; the routes and their middleware are the same.
  • A fresh Laravel 12 app: module:make, then --module on the Laravel generators (model with a migration, migration, test, factory, enum) and on generators from other packages (philiprehberger/laravel-make-service's service, value, contract, dto and action; spatie/laravel-fractal's transformer). Every file landed in the module with the right namespace, migrate:status listed the module's migrations, and module:doctor found no problems.

I left the CI matrix and the dev constraints (Testbench ^11) alone. Happy to add a Laravel 12 job, or to skip that one route-order test on 12, if you'd like.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EqJysQYKx3uy3ABQBgNqCo

The 3.0.0 suite passes on Laravel 12.69 with Testbench 10 (548 passed, 1
skipped), except one route-order test: Laravel 13 lists routes with a
domain first. No code change is needed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EqJysQYKx3uy3ABQBgNqCo
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