Skip to content

ed3/search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search Plugin

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 => minimum CakePHP 3.10 and PHP 5.6
  • Search 4.x => minimum CakePHP 4.4 and PHP 7.4

Documentation

For documentation, see the Docs directory of this repository.