Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Search Engine

Search Engine Laravel Package

lyssal/search-engine

Lyssal Search Engine provides a PHP abstraction layer for adding search features to Laravel applications. It offers a consistent API for indexing documents, managing search indexes and running queries, so you can swap or combine search backends without rewriting application code.

Deep Wiki
Context7

lyssal/search-engine is a lightweight PHP package for adding full-text search to your applications through a clean, framework-agnostic API. It separates indexing from querying, making it easy to plug in different storage backends while keeping search logic consistent across projects.

  • Simple indexing for documents and entities
  • Flexible query API with filters and pagination
  • Backend-agnostic design for easy integration
  • Lightweight core with minimal dependencies
  • Works in Laravel and plain PHP applications
Frequently asked questions about Search Engine
What is lyssal/search-engine used for in Laravel?
Lyssal Search Engine is a PHP package for adding search capabilities to Lyssal and Laravel projects. It provides a consistent API for indexing and querying documents and lets you integrate an external search backend. Its overview specifically mentions using external engines such as Qwant or Google to add a search form to your website.
How do I install lyssal/search-engine with Composer?
Install it like most Laravel packages with Composer using composer require lyssal/search-engine. After installation, follow the package documentation for any service provider registration or configuration publishing steps. Check the package README for the exact setup required by your Laravel version.
Which Laravel versions does lyssal/search-engine support?
The provided context does not list specific Laravel version constraints. Check the package composer.json and README for the supported Laravel and PHP versions before installing. This is especially important if you are maintaining an older Laravel application.
How do I configure the search backend for lyssal/search-engine?
The package offers flexible configuration so you can integrate a search backend into your application. You will typically set backend credentials, endpoint details, and search options in your Laravel configuration. Refer to the package documentation for the exact configuration keys and required environment variables.
Can I use Google or Qwant as the search engine with this package?
Yes, the package overview explicitly describes using external search engines like Qwant or Google to add a search form to your website. You will still need to provide any API keys, account details, or service configuration required by the chosen external engine. Confirm current backend-specific support in the package documentation.
Do I need to index documents before searching with lyssal/search-engine?
The package provides an API for both indexing and querying documents. Whether you must index content yourself depends on the backend you choose, because some external engines handle crawling and indexing on their side. Review the backend integration notes to determine the correct indexing workflow for your application.
How do I perform a search query using lyssal/search-engine?
The package is designed around a consistent API for querying documents, so you call its search service rather than writing backend-specific code in your controllers. You pass the user search terms and any supported options, then use the returned results in your Laravel views. See the package docs for the exact service class, method names, and result format.
Is lyssal/search-engine suitable for production Laravel applications?
It can be used in production if your chosen external search backend and configuration meet your reliability and performance requirements. Because searches depend on an external service, plan for API limits, timeouts, error handling, and caching where appropriate. Also verify the package's maintenance status and test it against your Laravel version before deployment.
How should I test a Laravel search integration built with lyssal/search-engine?
Keep unit tests isolated from real external search calls by mocking the package service or using Laravel's HTTP fakes where applicable. Add integration tests against a test backend or sandbox account if one is available. The provided context does not document package-specific testing helpers, so check the README for recommended approaches.
What are alternatives to lyssal/search-engine and is it actively maintained?
Laravel Scout is a common alternative for search integration in Laravel, while this package focuses on external engine search forms and a consistent indexing/query API. The repository is listed as unknown in the provided context, so check Packagist and the source repository for recent releases, open issues, and Laravel compatibility before adopting it.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console