ed3/search

Search Plugin for CakePHP

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:cakephp-plugin

5.2 2025-05-19 08:08 UTC

This package is auto-updated.

Last update: 2025-07-19 08:26:44 UTC


README

Packagist

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

  • Search 3.2 => CakePHP 3.10 and PHP 5.6
  • Search 4.x => CakePHP 4.4 and PHP 7.4
  • Search 5.0 => CakePHP 5.0 and PHP 8.1
  • Search 5.2 => CakePHP 5.2 and PHP 8.1

Documentation

For documentation, see the Docs directory of this repository.