2017 © Pedro Peláez
 

library searchdav

sabre/dav plugin to implement rfc5323 SEARCH

image

icewind/searchdav

sabre/dav plugin to implement rfc5323 SEARCH

  • Thursday, March 22, 2018
  • by icewind1991
  • Repository
  • 3 Watchers
  • 2 Stars
  • 67 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 3 % Grown

The README.md

SearchDAV

Build Status codecov Scrutinizer Code Quality, (*1)

A sabre/dav plugin to implement rfc5323 SEARCH, (*2)

Usage

The plugin implements the DAV specific parts of the rfc but leaves the actual search implementation to the user of the plugin., (*3)

This is done by implementing the \SearchDAV\Backend\ISearchBackend interface and passing it to the plugin during construction., (*4)

Basic usage

$server = new \Sabre\DAV\Server();
$server->addPlugin(new \SearchDAV\DAV\SearchPlugin(new MySearchBackend()));

$server->exec();

Terms

The rfc uses the following terms to describe various part of search handling, (*5)

  • Search scope: the DAV resource that is being queries.
  • Search arbiter: the end point to which the SEARCH request can be made., (*6)

    Note that a single search arbiter can support searching in multiple scopes, (*7)

  • Search grammar: The type of search query that is supported by a scope, (*8)

    rfc5323 requires any implementation to at least implement "basicsearch" which is also currently the only supported grammar in this plugin, (*9)

  • Search schema: Details on how to use a search grammar, such as the supported properties that can be searched for, (*10)

ISearchBackend

The ISearchBackend defines the arbiter end point, which scopes are valid to query, the search schema that is supported and implements the actual search., (*11)

For a full list of methods required and their description see ISearchBackend.php, (*12)

Query

The Query class defines the query that was made by the client and consists of four parts:, (*13)

  • select: the properties are requested.
  • from: the scope(s) in which the search should be made.
  • where: the filter parameters for the search.
  • orderBy: how the search results should be ordered.

For further information about these elements see Query.php, Scope.php, Operator.php and Order.php, (*14)

The Versions

22/03 2018

dev-master

9999999-dev

sabre/dav plugin to implement rfc5323 SEARCH

  Sources   Download

AGPL AGPL-3.0-or-later

The Requires

 

The Development Requires

22/03 2018

v1.0.1

1.0.1.0

sabre/dav plugin to implement rfc5323 SEARCH

  Sources   Download

AGPL-3.0-or-later

The Requires

 

The Development Requires

22/03 2018

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1

sabre/dav plugin to implement rfc5323 SEARCH

  Sources   Download

AGPL-3.0-or-later

The Requires

 

The Development Requires

25/01 2018

v1.0.0

1.0.0.0

sabre/dav plugin to implement rfc5323 SEARCH

  Sources   Download

AGPL-3.0-or-later

The Requires

 

The Development Requires

15/03 2017

v0.3.1

0.3.1.0

sabre/dav plugin to implement rfc5323 SEARCH

  Sources   Download

AGPL

The Requires

 

The Development Requires

10/03 2017

v0.3.0

0.3.0.0

sabre/dav plugin to implement rfc5323 SEARCH

  Sources   Download

AGPL

The Requires

 

The Development Requires

22/02 2017

v0.2.0

0.2.0.0

sabre/dav plugin to implement rfc5323 SEARCH

  Sources   Download

AGPL

The Requires

 

The Development Requires

02/02 2017

v0.1.0

0.1.0.0

sabre/dav plugin to implement rfc5323 SEARCH

  Sources   Download

AGPL

The Requires

 

The Development Requires