nswdpc / silverstripe-search-typesense
Typesense integration
Package info
github.com/nswdpc/silverstripe-search-typesense
Type:silverstripe-vendormodule
pkg:composer/nswdpc/silverstripe-search-typesense
Requires
Requires (Dev)
- cambis/silverstan: ^2
- cambis/silverstripe-rector: ^2
- friendsofphp/php-cs-fixer: ^3
- nswdpc/ci-files: dev-v-4
- phpstan/phpstan: ^2
- phpunit/phpunit: ^9.5
- rector/rector: ^2
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-22 02:40:38 UTC
README
This module:
- allows programmatic creation of search forms to query a Typesense collection
- carrying out of Typesense searches on a selected collection
- provides a consistent data structure for indexing and rendering results
- supports adding Typesense instantsearch to your data models, with configuration within the administration area
- provides an extension to handle upsert and removal of documents that are marked for indexing
- import records to a Typesense server, via task or queued job
- remove records from Typesense server
This module does not provide any implementations for searching in your Typesense collections. Use the following modules to implement this:
nswdpc/silverstripe-typesense-cms- provides a Typesense page to search and display results from collectionsnswdpc/silverstripe-typesense-elemental- provides Elemental content blocks to search collections
For NSW users wanting to integrate with the NSW Design System, the module nswdpc/waratah-typesense will assist.
Documentation
Requirements
- a Typesense server or servers
Installation
composer require nswdpc/silverstripe-search-typesense
License
Configuration
Environment:
TYPESENSE_API_KEY="API key that can read and write" TYPESENSE_SERVER="https://host:port" TYPESENSE_SEARCH_KEY='Optional search only key for creating scoped API keys for Instantsearch'
Maintainers
- PD web team
Bugtracker
We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.
Please review the code of conduct prior to opening a new issue.
Security
If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.
Development and contribution
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
Please review the code of conduct prior to completing a pull request.