Skip to content
SearchJet
Updated August 10, 2026

Step-by-Step Installation & Configuration

This guide walks you through installing and configuring the SearchJet Laravel package step by step.


Step 1: Install the Package via Composer

Open your terminal, navigate to your Laravel project directory, and run the following command:

composer require maidulcu/laravel-searchjetengine

Laravel will automatically discover the service provider and register the facade. No manual registration is needed.


Step 2: Publish the Configuration File

Publish the config file to customize the package settings:

php artisan vendor:publish --provider="SearchJet\SearchJetServiceProvider" --tag="config"

This creates a config/searchjet.php file in your Laravel project.


Step 3: Configure Environment Variables

Add your SearchJet credentials to your .env file:

SEARCHJET_API_URL=https://app.searchjetengine.com
SEARCHJET_API_KEY=your_api_key_here
SEARCHJET_SITE_URL=https://your-wordpress-site.com

Get your API key from the SearchJet dashboard at searchjetengine.com.


Step 4: Verify Configuration

Run a quick test to verify everything works:

use SearchJet\SearchJet;

$results = SearchJet::search('test');
dump($results);

If you see results, the integration is working. If not, check your API key and site URL in the .env file.

Was this article helpful?

Ready to add search to your project?

Start free. No credit card required. Deploy in under 10 minutes.