Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Search Plugin for CakePHP
Pull request Compare This branch is 7 commits ahead, 30 commits behind CakeDC:master.
Latest commit 17a9324 @dereuromark Use CakeText
Failed to load latest commit information.
Controller/Component Merge pull request #137 from matayoshi/fix_lookup
Docs add more tests
Locale Fixed @license part order in all files
Model/Behavior Use CakeText
Test Fix search for 0 value
.semver Updating .semver and
.travis.yml Updating Adding
LICENSE.txt Renaming some files to be uppercased Renaming some files to be uppercased
composer.json Updating composer.json

CakeDC Search Plugin

Bake Status Downloads Latest Version

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.


  • CakePHP 2.5+
  • PHP 5.2.8+


For documentation, as well as tutorials, see the Docs directory of this repository.


For bugs and feature requests, please use the issues section of this repository.

Commercial support is also available, contact us for more information.


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.


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.

Something went wrong with that request. Please try again.