This is the documentation for v2 but the latest version is v3 . You can switch versions in the menu on the left/at the top. Check your current version with the following command:
composer show lacodix/laravel-model-filter
Requirements
The laravel-model-filter package requires PHP 8.1+, Laravel 10+
For usage with Laravel 9 you can switch to v1.x