Search Plugin for CakePHP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Controller/Component Refactor: use switch case instead of else if for better code readability Jan 18, 2015
Model/Behavior user CakeText instead of String Nov 1, 2017
Test Refs #157 Changing the plugins defaults from named parameters to quer… Jul 24, 2014
.semver Updating semver and Aug 7, 2014
.travis.yml Updating travis Jul 14, 2014 Updating semver and Aug 7, 2014 fix contrib links Feb 1, 2016
LICENSE.txt Renaming some files to be uppercased May 23, 2014 Renaming some files to be uppercased May 23, 2014

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.