New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

statamic-rad-pack/typesense

typesense search driver for Statamic
22,615 7

Larablocks Analysis

statamic-rad-pack/typesense works with Laravel 12 and 13 (latest release v3.3.1, Oct 8, 2026).

Laravel 10 and 11 in earlier releases.

Recommendation checks

Solid choice

Solid choice: maintained and up to date, meets 2 of 4 checks; below the bar for Recommended on use.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Oct 8, 2026)
  • 3,054 downloads a month (needs 10,000)
  • 7 GitHub stars (needs 100)

State

Actively maintained
  • Last stable release: Oct 8, 2026.
  • 10 releases in the last 12 months.
  • First released: Aug 19, 2024.
  • Monthly downloads: 3,054.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.

Install
composer require statamic-rad-pack/typesense
Latest Version:v3.3.1
PHP:^8.2
Laravel:12 · 13
Older releases:10 · 11
License:MIT
Last Updated:Oct 8, 2026
Links: GitHub  ·  Packagist
Maintainer: jackmcdade

Statamic Typesense Driver

This addon provides a Typesense search driver for Statamic sites.

Requirements

  • PHP 8.2+
  • Laravel 10+
  • Statamic 6
  • Typesense 0.2+

Installation

composer require statamic-rad-pack/typesense

Add the following variables to your env file:

TYPESENSE_HOST=http://127.0.0.1
TYPESENSE_API_KEY=

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

'drivers' => [

    // other drivers

    'typesense' => [
        'client' => [
    	    'api_key' => env('TYPESENSE_API_KEY', 'xyz'),
            'nodes' => [
                [
                    'host' => env('TYPESENSE_HOST', 'localhost'),
                    'port' => env('TYPESENSE_PORT', '8108'),
                    'path' => env('TYPESENSE_PATH', ''),
                    'protocol' => env('TYPESENSE_PROTOCOL', 'http'),
                ],
            ],
            'nearest_node' => [
                'host' => env('TYPESENSE_HOST', 'localhost'),
                'port' => env('TYPESENSE_PORT', '8108'),
                'path' => env('TYPESENSE_PATH', ''),
                'protocol' => env('TYPESENSE_PROTOCOL', 'http'),
            ],
            'connection_timeout_seconds' => env('TYPESENSE_CONNECTION_TIMEOUT_SECONDS', 2),
            'healthcheck_interval_seconds' => env('TYPESENSE_HEALTHCHECK_INTERVAL_SECONDS', 30),
            'num_retries' => env('TYPESENSE_NUM_RETRIES', 3),
            'retry_interval_seconds' => env('TYPESENSE_RETRY_INTERVAL_SECONDS', 1),
        ],
    ],
],

You can optionally publish the config file for this package using:

php artisan vendor:publish --tag=statamic-typesense-config

Search Settings

Any additional settings you want to define per index can be included in the statamic/search.php config file. The settings will be updated when the index is created.

'articles' => [
    'driver' => 'typesense',
    'searchables' => ['collection:articles'],
    'fields' => ['id', 'title', 'url', 'type', 'content', 'locale'],
    'settings' => [
        'schema' => [
            /*
                Pass an optional schema, see the Typesense documentation for more info:
                https://typesense.org/docs/26.0/api/collections.html#with-pre-defined-schema
            */
            'fields' => [
                [
                  'name'  => 'company_name',
                  'type'  => 'string',
                ],
                [
                  'name'  => 'num_employees',
                  'type'  => 'int32',
                  'sort'  => true,
                ],
                [
                  'name'  => 'country',
                  'type'  => 'string',
                  'facet' => true,
                ], 
            ],
        ],
        /* 
            Pass any of the options from https://typesense.org/docs/26.0/api/search.html#search-parameters
        */
        'search_options' => [
            /* 
                eg Specify a custom sort by order, see the Typesense documentation for more info:
                https://typesense.org/docs/guide/ranking-and-relevance.html#ranking-based-on-relevance-and-popularity
            */
            'sort_by' => '_text_match(buckets: 10):desc,weighted_score:desc',
        ],
        
        /*
            Set this to true to maintain the sort score order that Typesense returns 
        */
        'maintain_rankings' => false,
    ],
],

Alternatives to statamic-rad-pack/typesense

uams-web/aether-search

Search for Statamic sites, part of the Aether ecosystem of UAMS Statamic add-ons...

38,580 0
typesense/laravel-scout-typesense-driver

Laravel Scout Driver for Typesense

768,355 142
daun/statamic-loupe

Loupe search driver for Statamic

29,472 4
visuellverstehen/statamic-content-renderer

A Statamic search transformer for bard and replicator fields.

9,722 1
artofwifi/statamic-indexnow

Submit URLs to IndexNow from the Statamic Control Panel for faster search engine...

1,267 1

Version History

Version Released PHP Laravel License
v3.3.1 ^8.2 ^12.0 || ^13.0 MIT
v3.3.0 ^8.2 ^12.0 || ^13.0 MIT
v3.2.2 ^8.2 ^12.0 || ^13.0 MIT
v3.2.1 ^8.2 ^12.0 || ^13.0 MIT
v3.2.0 ^8.2 ^12.0 || ^13.0 MIT