Skip to content

Laravel 12#65

Merged
amranidev merged 13 commits intomasterfrom
laravel-12
Apr 6, 2026
Merged

Laravel 12#65
amranidev merged 13 commits intomasterfrom
laravel-12

Conversation

@amranidev
Copy link
Copy Markdown
Owner

Overview

This PR updates amranidev/laracombee for modern Laravel versions and refreshes the package documentation.

It adds Laravel 10, 11, and 12 compatibility by updating Composer constraints and moving the test stack to the current Testbench/PHPUnit versions. It also removes older framework assumptions such as App\User and Illuminate\Foundation\Auth\User, replacing them with current Laravel conventions like App\Models\User and Authenticatable. The service provider was adjusted to merge config properly and register commands only in console contexts.

The test suite was also stabilized. Instead of relying on live Recombee API calls, tests now use a fake client so they run deterministically in CI and local development. PHPUnit configuration was updated for the current schema, and the suite passes cleanly.

Finally, the README was rewritten and polished to fix grammar, remove outdated setup instructions, and align the examples and configuration guidance with the current package behavior.

Key changes

  • Laravel 10/11/12 support added
  • Testbench upgraded to Laravel 12-compatible version
  • PHPUnit config modernized
  • Offline fake-based test coverage added
  • README rewritten for clarity and accuracy

Verification

  • vendor/bin/phpunit passes: 32 tests, 63 assertions

@amranidev amranidev merged commit cee4228 into master Apr 6, 2026
3 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.

2 participants