daun/statamic-loupe

Loupe search driver for Statamic

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:statamic-addon

1.0.1 2024-11-20 23:28 UTC

This package is auto-updated.

Last update: 2024-11-20 23:29:28 UTC


README

This addon provides a Loupe search driver for Statamic sites.

Loupe

Loupe is a local SQLite search engine that is easy to set up and requires no additional infrastructure.

  • Only requires PHP and SQLite, nothing else
  • Tolerates typos and supports stemming
  • Supports phrase search using "quotation marks"
  • Supports filtering and ordering on geo distance
  • Sorts by relevance

Installation

composer require daun/statamic-loupe

Add the new driver to the statamic/search.php config file.

'drivers' => [

    // other drivers

    'loupe' => [
        'path' => storage_path('statamic/loupe'),
    ],
],

License

MIT