filter[tags][in] for arrays).@Rest\Get, Serializer, etc.).queryBuilderName).scoutexpress or custom middleware).filter[user][posts][published][gt])? This bundle lacks native support.spatie/laravel-query-builder (for Laravel projects).| Component | Fit | Workarounds |
|---|---|---|
| Symfony | ✅ Native support (annotations, Doctrine, REST components). | None. |
| Laravel | ❌ No native support. | - Parse URL params manually. |
- Use Illuminate\Database query builder with custom logic. |
||
| - Fork/modify bundle or build a Laravel-specific wrapper. | ||
| Doctrine ORM | ✅ Primary use case. | None. |
| API Platform | ✅ If annotations are supported. | Test compatibility with @ApiResource. |
| Custom Repositories | ⚠️ Limited. | May require extending QueryBuilderApplier or writing custom logic. |
| GraphQL | ❌ Not applicable. | Use GraphQL-specific tools (e.g., graphql-php, Relay-style filtering). |
@ApiTK\Filter.filter[] params and apply to queries).spatie/laravel-query-builder) for similar functionality.check24/apitk (core library). Ensure no version conflicts.check24/apitk ecosystem (low adoption risk).doctrine/orm profiling).filter[field1][gt] AND filter[field2][in]).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Invalid filter syntax | 400 errors for clients. | Document allowed syntax; add client-side validation. |
| Malicious filter input (SQLi) | Data exposure or DoS. | Whitelist allowed fields; sanitize queryBuilderName inputs. |
| Unsupported Symfony/Doctrine version | Bundle breaks. | Fork and maintain; or switch to alternative (e.g., API Platform filters). |
| High query complexity | Slow responses, timeouts. | Set query timeouts; optimize indexes; use read replicas. |
| Missing documentation | Developer confusion. | Add internal docs for custom use cases (e.g., queryBuilderName usage). |
@ApiTK\Filter).How can I help you explore Laravel packages today?