Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Query Control Model

Query Control Model Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Query Control Model is a Laravel package that brings structured, controllable querying to your Eloquent models. It lets you define allowed query operations, filters, and scopes directly on the model, giving you a safe, consistent layer between raw requests and database queries.

Instead of scattering query logic across controllers, you centralize it in the model—keeping code clean while protecting against unintended or unsafe queries.

  • Model-driven query definitions for allowed filters, sorts, and relations
  • Safe request-to-query mapping with built-in validation
  • Reusable scopes shared across controllers and services
  • Eloquent-friendly API that fits naturally into existing models
  • Lightweight integration requiring minimal configuration

Ideal for APIs and dashboards where flexible yet controlled data access matters.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge