awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 个仓库

Awesome GitHub RepositoriesModel Scope Integration

Mapping API request parameters to local database model scopes for reusable query constraints.

Distinct from Tenant-Scoped Model Filtering: Distinct from tenant-scoped filtering as it refers to general-purpose Eloquent model scopes.

Explore 1 awesome GitHub repository matching data & databases · Model Scope Integration. Refine with filters or upvote what's useful.

Awesome Model Scope Integration GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • spatie/laravel-query-builderspatie 的头像

    spatie/laravel-query-builder

    4,453在 GitHub 上查看↗

    本项目是一个用于 Laravel 应用程序的 Eloquent 查询构建器封装器和 REST API 查询解析器。它将 HTTP 请求参数转换为数据库查询,为 API 端点提供动态过滤、排序和关系加载。 该系统通过基于别名的模式抽象将外部 API 接口与存储层解耦,允许公共字段名映射到私有数据库列。它支持嵌套关系的动态包含和聚合计数,以及通过可调用类和闭包为过滤器和排序执行自定义程序逻辑。 功能覆盖面包括通过字段选择进行数据投影,以及基于请求参数的结果排序。它进一步提供了使用点符号进行基于关系的过滤的机制,与本地模型作用域的集成,以及对软删除记录可见性的控制。

    Maps URL filter parameters directly to local Eloquent model scopes.

    PHPapihacktoberfestlaravel
    在 GitHub 上查看↗4,453
  1. Home
  2. Data & Databases
  3. Model Scope Integration