cmsig/seal-read-write-adapter
SEAL Read Write Adapter lets you use separate search adapters for reads and writes, enabling reindexing without downtime. Combine any AdapterInterface implementations (e.g., Elasticsearch) and configure via DSN for your framework.
seal-read-write-adapter enables read-write separation for the cmsig/seal search package, which is critical for zero-downtime reindexing or scaling read-heavy workloads independently of writes. This aligns well with Laravel applications requiring high availability or performance optimization in search operations (e.g., e-commerce product catalogs, content-heavy platforms).bind() or app()).cmsig/seal as a Scout engine) or standalone..env (e.g., SEAL_READ_ADAPTER, SEAL_WRITE_ADAPTER).AdapterInterface (e.g., Elasticsearch, OpenSearch, custom), making it vendor-agnostic and future-proof.cmsig/seal is used as a Scout engine.cmsig/seal may not be backward-compatible.ReadWriteAdapter as a singleton or context-bound instance.
$app->bind(ReadWriteAdapter::class, function ($app) {
return new ReadWriteAdapter(
new ElasticsearchAdapter(config('scout.elasticsearch.read')),
new ElasticsearchAdapter(config('scout.elasticsearch.write'))
);
});
cmsig/seal as a Scout engine, extend the Engine class to inject the adapter.ModelUpdated, ModelDeleted).php artisan seal:reindex --read-only).ElasticsearchAdapter.AdapterInterface for other engines (e.g., Meilisearch, Typesense).MultiAdapter (mentioned in README) for write-through caching.Cache::tags()).Engine instantiation with ReadWriteAdapter.ping endpoints).cmsig/seal and cmsig/seal-read-write-adapter versions are locked in composer.json.cmsig/seal integration (without the adapter).config/seal.php).cmsig/seal for breaking changes (low signal due to small community).composer.json to avoid surprises._cat/recovery API).How can I help you explore Laravel packages today?