cakedc/search
最新稳定版本:2.5.1
Composer 安装命令:
composer require cakedc/search
包简介
Search Plugin for CakePHP
README 文档
README
This Search plugin enables developers to quickly implement the POST-Redirect-GET pattern.
The Search plugin is an easy way to implement PRG in your application, and provides you with a paginate-able search in any controller. It supports simple methods to search inside models using strict and non-strict comparing, but also allows you to implement any complex type of searching.
- PRG Component: The component will turn GET parameters into POST to populate a form and vice versa.
- Search Behaviour: The behavior will generate search conditions passed in the provided GET parameters.
This is not a Search Engine or Index
As mentioned before, this plugin helps you to implement searching for data using the PRG pattern. It is not in any way a search engine implementation or search index builder, although it can be used to search an index such as Elastic Search or Sphinx.
Requirements
- CakePHP 2.5+
- PHP 5.2.8+
Documentation
For documentation, as well as tutorials, see the Docs directory of this repository.
Support
For bugs and feature requests, please use the issues section of this repository.
Commercial support is also available, contact us for more information.
Contributing
This repository follows the CakeDC Plugin Standard. If you'd like to contribute new features, enhancements or bug fixes to the plugin, please read our Contribution Guidelines for detailed instructions.
License
Copyright 2007-2014 Cake Development Corporation (CakeDC). All rights reserved.
Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.
cakedc/search 适用场景与选型建议
cakedc/search 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.01M 次下载、GitHub Stars 达 352, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「search」 「filter」 「cakephp」 「prg」 「post-redirect-get」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 cakedc/search 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cakedc/search 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 cakedc/search 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
A Laravel package to retrieve data from Google Search Console
Nova searchable filter for belongsTo relationships.
Indexed Search Autocomplete - Extends the TYPO3 Core Extension Indexed_Search searchform with an autocomplete feature.
Abstraction Layer to index and search entities
Symfony DataGridBundle
统计信息
- 总下载量: 1.01M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 354
- 点击次数: 13
- 依赖项目数: 3
- 推荐数: 2
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04