acseo/typesense-bundle
Symfony bundle integrating Typesense search. Configure Typesense host/key, map Doctrine entities to Typesense collections/fields, and keep indexes synced via Doctrine event listeners. Includes transformers and services for querying collections.
prePersist, preUpdate, preRemove) allows for automatic sync between Doctrine entities and Typesense collections with minimal manual intervention.fields configuration in acseo_typesense.yml), enabling alignment with existing database schemas or denormalized search requirements.TypesenseSearchService for querying collections, abstracting away raw API calls and simplifying integration with Symfony controllers or services.Messenger component) or transactional outbox pattern for critical updates.prePersist/preUpdate may degrade write performance for high-throughput systems.Cron or Messenger) or asynchronous processing (e.g., RabbitMQ, Symfony Messenger).id, title, createdAt).%env(resolve:...) for configuration, aligning with best practices.query_by, filter_by), enabling advanced features like typo tolerance or custom ranking..env + acseo_typesense.yml).postLoad events to backfill data while enabling automatic sync for new/updated entities.TypesenseSearchService.json_encode), but many-to-many may need custom handling.TypesenseIndexMessage).tenant_{id}_books) or separate Typesense instances.hnsw extension and custom field mappings for embeddings.TypesenseSearchService.config/packages/acseo_typesense.yml, making it easy to manage..env overrides for dev/staging/prod Typesense instances.How can I help you explore Laravel packages today?