Download the PHP package geekybones/typesense-bundle without Composer
On this page you can find all versions of the php package geekybones/typesense-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download geekybones/typesense-bundle
More information about geekybones/typesense-bundle
Files in geekybones/typesense-bundle
Download geekybones/typesense-bundle
More information about geekybones/typesense-bundle
Files in geekybones/typesense-bundle
Vendor geekybones
Package typesense-bundle
Short Description Symfony bundle for Typesense: attribute mapping, zero-downtime reindexing, Doctrine sync, smart and semantic search, query parsing and query suggestions.
License MIT
Homepage https://github.com/geekybones/typesense-bundle
Package typesense-bundle
Short Description Symfony bundle for Typesense: attribute mapping, zero-downtime reindexing, Doctrine sync, smart and semantic search, query parsing and query suggestions.
License MIT
Homepage https://github.com/geekybones/typesense-bundle
Please rate this library. Is it a good library?
Informations about the package typesense-bundle
Typesense bundle for Symfony
A bundle to use Typesense in a Symfony app. It covers the basics, and adds extra features on top.
The basics
- Map Doctrine entities to collections with attributes
- Keyword search, filters, sorting and facets
- Load results as Doctrine entities
The extras
- Zero-downtime reindex. A new collection is built, then swapped in.
- Live sync. The index follows your database on every save and delete.
- Enrichers. Add data that is not on the entity: fixed text, other tables, grouped options.
- Smart search. Keyword first, then search by meaning when keywords are not enough.
- Recommendations. Items like one item, or like the best hit of a search.
- Query parsing. "wool coats with gold buttons" becomes text plus a filter.
- Query suggestions. Complete what people type from popular and seeded searches.
- Stores and tenants. Keep many stores apart in one collection (guide).
- Fast repeats. Add
use_cacheand Typesense answers repeated searches from its cache. - Multi search. Run several searches in one request.
- Assistant ready. Feed a shopping or chat assistant (guide).
- Easy to extend. Replace the router, the parser or the value source with your own class.
Quick start
1. Install
Need a Typesense server first? See the official Typesense install guide or our Installation.
2. Map an entity
3. Index and search
After this, saving or deleting a Product updates the index for you.
Guides
| Guide | Learn how to |
|---|---|
| Installation | Install the bundle and run Typesense |
| Configuration | Set every option in typesense.yaml |
| Mapping | Turn entities into collections |
| Indexing | Reindex, keep the index in sync |
| Enrichers | Add data that is not on the entity |
| Searching | Search, filter, sort, load entities |
| Semantic search | Find results by meaning |
| Query parsing | Turn "wool coats with gold buttons" into a filter |
| Query suggestions | Complete what people type |
| Stores and tenants | Keep many stores in one collection |
| Shopping assistant | Build a chat assistant, with Typesense conversational search or your own code |
| Testing | Test your code and the bundle |
| Troubleshooting | Fix common problems |
Commands
| Command | What it does |
|---|---|
typesense:reindex [collection] |
Rebuild the index from the database |
typesense:suggestions:setup [collection] |
Create the suggestions collection |
typesense:query:parse <collection> "<query>" |
Show what the query parser finds |
Services you can inject
| Type | Use it to |
|---|---|
SearcherInterface |
Search |
IndexerInterface |
Save or delete one entity in the index |
ReindexerInterface |
Rebuild a collection |
SchemaBuilder |
Get the schema a reindex would create |
QuerySuggesterInterface |
Complete and seed search phrases |
QueryRouterInterface |
Decide when to search by meaning |
VocabularyProviderInterface |
Read or clear the values the query parser knows |
Typesense\Client |
Use the official client for anything else |
Requirements
- PHP 8.2 or newer
- Symfony 7.3 or newer
- A Typesense server (official install guide, or see Installation)
- Doctrine ORM, for reindexing, live sync and loading entities
License
MIT. See LICENSE.
Made by GeekyBones. Source and issues: github.com/geekybones/typesense-bundle.
All versions of typesense-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
nyholm/psr7 Version ^1.8
psr/log Version ^2.0 || ^3.0
symfony/cache-contracts Version ^3.5
symfony/console Version ^7.3
symfony/event-dispatcher Version ^7.2
symfony/finder Version ^7.2
symfony/framework-bundle Version ^7.2
symfony/http-client Version ^7.2
symfony/property-access Version ^7.2
typesense/typesense-php Version ^6.0
nyholm/psr7 Version ^1.8
psr/log Version ^2.0 || ^3.0
symfony/cache-contracts Version ^3.5
symfony/console Version ^7.3
symfony/event-dispatcher Version ^7.2
symfony/finder Version ^7.2
symfony/framework-bundle Version ^7.2
symfony/http-client Version ^7.2
symfony/property-access Version ^7.2
typesense/typesense-php Version ^6.0
The package geekybones/typesense-bundle contains the following files
Loading the files please wait ...