matthewbdaly/laravel-opensearch

Opensearch implementation for Laravel

0.0.2 2018-02-11 22:04 UTC

This package is auto-updated.

Last update: 2024-03-28 07:22:02 UTC


README

OpenSearch implementation for Laravel

Build Status Coverage Status

Installation

First, install the package:

composer require matthewbdaly/laravel-opensearch

Then publish the config:

php artisan vendor:publish

Then, update config/opensearch.php to match your requirements. You also need to add something like the following to the HTML header for your site to tell the browser where to find the OpenSearch XML file:

<link href="/opensearch" rel="search" title="Search title" type="application/opensearchdescription+xml">