Searchkit compatible GraphQL API extensions for applications built with Lighthouse PHP.
- PHP ^7.4, ^8
- Lighthouse PHP ^5
Install the package via Composer:
composer require searchlight/searchlight
This package uses Laravel auto-discovery to register the service provider.
Publish a copy of the configuration file to your local config:
php artisan vendor:publish --provider="Searchlight\SearchlightServiceProvider"
You can register the service provider in bootstrap/app.php
:
$app->register(Searchlight\SearchlightServiceProvider::class);
To change the configuration, copy searchlight.example.php
the file to your config folder and enable it:
$app->configure('searchlight');
🐌
🐌
PRs welcome for additional compatibility with Searchkit or bug fixes. Or if you have a cool idea, let me know!
If you discover a security vulnerability within Searchlight, please send an email to [email protected].