Download the PHP package silverstripers/elemental-search without Composer

On this page you can find all versions of the php package silverstripers/elemental-search. 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 elemental-search

SilverStripe - Elemental search

Introduction

This module integrates dnadesign/silverstripe-elemental into SilverStripe's Fulltext search and provides extensions to create search documents for your Pages or any data objects which you need to work with the full text search. The module comes in handy for systems where you dont want to make use of complex search systems like Solr.

Requirements

Installation

Install with Composer:

Ensure you run dev/build?flush=1 to build your database and flush your cache.

Usage

Enable Full text search

The module once installed elables Full text search by itself on the SearchDocument dataobject. There are no additional configs you want to use.

Create a search form

Create a search form with the code below and display on a template

Include objects to search.

Any data object you'd like to include in the search has to be decorated with the SilverStripers\ElementalSearch\Extensions\SearchDocumentGenerator. After doing this this extension will make a search document each time when the data object is created, updated, and when deleted it will delete the search document. For Versioned data objects it will only create search documents when the object is published.

Specify which contents needs to be searched.

For the webpages you have the option to configure which dom elements to include in the search. Eg: You wont need it to cache the whole page and run search on certain info which duplicates over the site like the navigations.

In the situation where you have content outside of elemental elements that you want to include in the search.

The above settings will render the page and exract content within the main-content DOM node, and create the document.

How it works

The module adds a new DataObject SearchDocument. This gets created when each of the search enabled pages. And it is how it creates aggregated search results.

The module overrides the MySQLDatabase and the search result queries.

Reporting Issues

Please create an issue for any bugs, or submit merge requests.


All versions of elemental-search with dependencies

PHP Build Version
Package Version
Requires dnadesign/silverstripe-elemental Version *
guzzlehttp/guzzle Version 6.3.3
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 silverstripers/elemental-search contains the following files

Loading the files please wait ....