rodrigogalura/tuner 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rodrigogalura/tuner

Composer 安装命令:

composer require rodrigogalura/tuner

包简介

A Laravel package to fine-tune your APIs — let clients shape the data with powerful query modifiers.

README 文档

README

tests packagist version license code quality


Logo

A Laravel package to fine-tune your APIs — let clients shape the data with powerful query modifiers.
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Main Features
  3. Roadmap
  4. Contributing
  5. License
  6. Contact
  7. Buy Me a Coffee

About The Project

Product Name Screen Shot

This package was born out of real-world needs in my own projects. I created it to cut down on boilerplate and give frontend consumers more control and flexibility. I’m simply sharing the tools that helped me build faster — and I hope they’ll do the same for you.

Main Features

Projection
Select only the fields you need instead of retrieving every field.
Available modifiers:

  1. fields – Include only the specified fields.
  2. fields! – Exclude the specified fields (opposite effect).

Projection demo

Sort
Order results in ascending or descending order.

  • Use the sort modifier to define one or more sort fields.

Sort demo

Search
Filter results based on a search keyword with optional wildcards.

  • Use the search modifier.

Available wildcards:

  1. *term – Match at the beginning.
  2. term* – Match at the end.
  3. *term* – Match anywhere (flexible).

Search demo

Filter
Go beyond simple search with advanced filtering.
Available modifiers:

  1. filter
  2. in
  3. between

filter
Supports relational and arithmetic operators:

  • = : Equal
  • > : Greater than
  • < : Less than
  • >= : Greater than or equal
  • <= : Less than or equal
  • <> : Not equal

Filter demo

in
Filter results that match any value in a given list.

In demo

between
Filter results within a range of values (numbers, text, or dates).

Between demo

Logical operators are supported for advanced filtering:

  • AND
  • OR
  • AND!
  • OR!

Logical operator demo

Limitation
Restrict the number of results returned by specifying a maximum limit.

Limit And Offset demo

Pagination
Leverage Laravel’s built-in pagination system for efficient, page-based responses.

Pagination demo

(back to top)

Roadmap

You can access the Tuner roadmap here.

License

The Tuner is open-sourced software licensed under the MIT license.

Contact

If you discover any security vulnerabilities, please contact me. This allows me to address the issue promptly and responsibly.

Rodrigo Galura - rodrigogalura3rd@gmail.com

☕️ Buy Me a Coffee

If this project helped you or saved you time, consider buying me a coffee. Your support means a lot and helps keep this project active and maintained!

Buy Me a Coffee at Ko-fi

(back to top)

rodrigogalura/tuner 适用场景与选型建议

rodrigogalura/tuner 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 21 次下载、GitHub Stars 达 32, 最近一次更新时间为 2025 年 09 月 12 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 rodrigogalura/tuner 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 rodrigogalura/tuner 我们能提供哪些服务?
定制开发 / 二次开发

基于 rodrigogalura/tuner 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 21
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 32
  • 点击次数: 22
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 32
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-12