searchlight / searchlight
Searchkit GraphQL support for Lighthouse
v1.0.1
2022-09-20 02:07 UTC
Requires
Requires (Dev)
- illuminate/support: ^8.83
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^8
- spatie/phpunit-snapshot-assertions: ^4.2
README
Searchkit compatible GraphQL API extensions for applications built with Lighthouse PHP.
Requirements
- PHP ^7.4, ^8
- Lighthouse PHP ^5
Installation
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"
Lumen
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');
Configuration
🐌
Usage
🐌
Contributing
PRs welcome for additional compatibility with Searchkit or bug fixes. Or if you have a cool idea, let me know!
Security Vulnerabilities
If you discover a security vulnerability within Searchlight, please send an email to security@sybolt.com.