laravel-expansions/query-control-model
Query Control Model is a Laravel package that adds controllable query behaviour to Eloquent models, letting you define, restrict, and reuse model queries through clean, consistent APIs. It helps keep filtering and data access predictable across your application.
with / withCount handling where comma splitting was applied incorrectly. This supports scheduling a routine upgrade rather than treating the release as a roadmap-level feature.with / withCount usage.Consider adopting or retaining this package when:
with / withCount values and want to avoid custom comma-exploding logic.Look elsewhere or use native Laravel APIs directly when:
with / withCount and simple request validation.Executive summary: v1.0.2 is a small correctness fix for with / withCount handling. It does not add product capability or change strategy. The practical value is reduced risk in dynamic relation loading and lower need for custom parsing code. Recommend a routine upgrade with standard regression checks.
Engineering summary: The release note indicates the package corrected an incorrect comma-explode behavior for with and withCount values. No breaking changes or deprecations are indicated, but the note is terse. Before rollout, verify tests around array vs. string inputs, nested relation names, empty values, and malformed inputs. Confirm that user-controlled relation names are allowlisted and that eager-loading behavior remains stable.
How can I help you explore Laravel packages today?