Skip to content

feat: add Laravel 12 and 13 support #25

Open
4lun wants to merge 1 commit into
richan-fongdasen:mainfrom
4lun:main
Open

feat: add Laravel 12 and 13 support #25
4lun wants to merge 1 commit into
richan-fongdasen:mainfrom
4lun:main

Conversation

@4lun
Copy link
Copy Markdown

@4lun 4lun commented Apr 3, 2026

Hi, thanks for the package. I've been using it on a small side project for a while, and was keen to upgrade it to Laravel 13. These are the changes I found I needed:

  • Widen illuminate/* constraints from ^11.0 to ^11.0|^12.0|^13.0
  • Pass Connection to Grammar constructors (required in L12+), with L11 backwards compatibility
  • Add $schema parameter to compileDropAllTables/Views (L12+ signature)

Testing

Under Laravel 11, Laravel 12 and Laravel 13 - I manually verified the following runs without issue against a test Turso database:

  • php artisan migrate:refresh
  • Model::get()
  • Model::create()

- Widen illuminate/* constraints from ^11.0 to ^11.0|^12.0|^13.0
- Pass Connection to Grammar constructors (required in L12+),
  with L11 backwards compatibility
- Add $schema parameter to compileDropAllTables/Views (L12+ signature)
@4lun 4lun requested a review from richan-fongdasen as a code owner April 3, 2026 18:59
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