Download the PHP package madmatt/silverstripe-funnelback without Composer

On this page you can find all versions of the php package madmatt/silverstripe-funnelback. 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 silverstripe-funnelback

Silverstripe Funnelback search module

This module provides an interface to query a Funnelback collection.

Features

Current features

You can see this module in action on the Whaikaha - Ministry of Disabled People website.

Still to do

What this module won't try to do

Installation

Install this module via Composer:

Requirements

You need to be using Silverstripe CMS 4.10 or newer, no other dependencies should matter.

Usage

Once you've installed the module, you'll need to do two things:

  1. Configure the necessary environment variables.
  2. Create & integrate your search form.

Step 1: Configuring the necessary environment variables

This module needs the following environment variables configured:

Once configured, the module can be used to perform search requests.

Step 2: Create & integrate your search form

You may already have some search infrastructure in place. If so, adapt these instructions as needed. This assumes you have nothing setup yet.

Create a new controller for your search page - app/src/Controllers/SearchController.php:

Next, register your new controller via a Director route, for example in app/_config/routes.yml:

Create your search results template (for example themes/<theme>/templates/App/Search/Layout/Search.ss):

Now, assuming that Funnelback has already crawled your website, you should be able to visit http://your-website/search?q=testing and have the website query Funnelback and return results for you.

On your PageController class, add the following SearchForm method so that you can output a search form on every page of your website:

Finally, add this into your template:

Provided everything is configured correctly, you should now have everything you need to get Funnelback search working on your website.

Optional configuration

Optional configuration options are listed below.

Code of Conduct

When having discussions about this module, please adhere to the Silverstripe Community Code of Conduct.


All versions of silverstripe-funnelback with dependencies

PHP Build Version
Package Version
Requires php Version ^8
guzzlehttp/guzzle Version ^7.4
silverstripe/config Version ^1
silverstripe/framework Version ^4.10
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 madmatt/silverstripe-funnelback contains the following files

Loading the files please wait ....