Download the PHP package digital-backstage/searchable without Composer

On this page you can find all versions of the php package digital-backstage/searchable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package searchable

Searchable

Provides interfaces that allow to search repositories implemented in our libraries in a standardized way.

It defines the following interfaces:

DigitalBackstage\Searchable\Paginable

This one defines the interface for what a Searchable repository should return when queried. It should be immutable, provide a subset of all available items, and pagination information, namely:

Page numbers start from 1. It extends \Traversable, but not \Countable, because that would be very confusing: should it return the number of page? Of available items? Of items in the current page?

DigitalBackstage\Searchable\SearchQuery

Searchable repositories are queried with this object. It consists in an expression, which should be translated to DQL, SQL or JSON by the repository, and should provide information about the desired page number and page size.

DigitalBackstage\Searchable\QueryExpression

This represents an expression, and has several implementations. Repositories should list which implementations they support.

DigitalBackstage\Searchable\SortedSearchQuery

If the client wants to specify a sort order other than the default one, it must implement SortedSearchQuery.

DigitalBackstage\Searchable\Searchable

A repository of objects. Must be queried with a SearchQuery, and must return a Paginable. Must advertise what fields it supports for querying. Should throw PageOutOfRange, and UnsupportedSearchField when appropriate.


All versions of searchable with dependencies

PHP Build Version
Package Version
Requires greg0ire/enum Version ^3.5 || ^4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package digital-backstage/searchable contains the following files

Loading the files please wait ....