abdrzakoxa/laravel-eloquent-filter
A Laravel package for adding reusable, query-string-driven filters to Eloquent models. Define filters once and apply them through simple request parameters to keep controllers clean and queries flexible.
Release 1.1.0 is a compatibility update: it adds Laravel 9 support. The release notes do not document new APIs, features, deprecations, or breaking changes, so treat this as an initial assessment with a narrow confirmed compatibility signal.
Start by checking the package’s composer.json constraints before installing. Confirm that the package version you are installing allows laravel/framework:^9.0 and the PHP version required by Laravel 9. Then review the README and service provider to understand whether the package uses auto-discovery, facades, helpers, config publishing, migrations, or route registration.
Minimal first steps:
php artisan package:discover if auto-discovery is not already refreshed.A good first use case is a single application service or action class that wraps the package call. That gives you one place to validate behavior, handle exceptions, and later swap or upgrade the package without spreading direct calls across the codebase.
Prefer dependency injection over facades or global helpers unless the package is explicitly designed around them. Inject the package’s service, client, or contract into your own application service, then call that service from controllers, jobs, commands, and listeners. This keeps package usage testable and keeps Laravel-version-specific integration details out of business logic.
Use a thin adapter when the package exposes a broad API:
For Laravel integration, verify how the package behaves in the contexts you actually use:
Pin the package version in composer.json and add Laravel 9 to your CI matrix only if the rest of your dependencies also support it. If the application is on Laravel 10 or newer, do not assume this release makes the package compatible with those versions; test explicitly or wait for a confirmed constraint.
Laravel 9 support is not the same as support for Laravel 10, 11, or 12. Check composer.json constraints and run composer why-not if installation fails. A package may allow Laravel 9 while still restricting PHP, Symfony components, or other dependencies in ways that affect your application.
Because the release note is limited, inspect the changelog and diff before upgrading. Look specifically for changes to service providers, config keys, published assets, namespaces, method signatures, and minimum PHP versions. A compatibility release can still include internal changes that affect edge cases.
Common Laravel package pitfalls:
php artisan config:clear and php artisan package:discover after upgrading, especially in local and CI environments.vendor:publish --force; it can overwrite application config or migrations.For debugging, start with composer show, composer why-not laravel/framework, and php artisan about. Then isolate the package in a small test that boots Laravel, resolves the package service, and calls one documented method. If the package fails only in Laravel 9, compare its service provider registration and dependency constraints against Laravel 9’s package discovery and container behavior.
Treat this release as a supported floor for Laravel 9, not as a signal that the package is actively modernized. If your application is on a newer Laravel version, keep the package behind your own adapter and plan an explicit compatibility test before relying on it day-to-day.
How can I help you explore Laravel packages today?