{"id":2803,"date":"2025-10-07T11:08:19","date_gmt":"2025-10-07T11:08:19","guid":{"rendered":"https:\/\/200oksolutions.com\/blog\/?p=2803"},"modified":"2025-12-04T07:44:02","modified_gmt":"2025-12-04T07:44:02","slug":"laravel-scout-algolia-search-example-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/www.200oksolutions.com\/blog\/laravel-scout-algolia-search-example-step-by-step-guide\/","title":{"rendered":"Laravel Scout Algolia Search Example: Step-by-Step Guide"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-1024x576.jpg\" alt=\"Explore the Laravel Scout Algolia Search Example Step-by-Step Guide by 200OK Solutions. Learn how to implement search functionality with a professional holding a laptop. Read now at www.200oksolutions.com.\" class=\"wp-image-2810\" srcset=\"https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-1024x576.jpg 1024w, https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-300x169.jpg 300w, https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-768x432.jpg 768w, https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-1536x864.jpg 1536w, https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-2048x1152.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In this tutorial, I\u2019ll Walk you through a <strong>step-by-step example of implementing full-text search in Laravel using Laravel Scout and Algolia<\/strong>.<\/p>\n\n\n\n<p>Laravel provides us with the <strong>Scout package<\/strong> for adding a powerful full-text search layer on top of Eloquent models. Combined with Algolia, it makes search queries super-fast and efficient. If your application requires a smooth and accurate search functionality, this is the best way to go.<\/p>\n\n\n\n<p>We\u2019ll start from scratch and build a working search system in a fresh Laravel application.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 1: Install Laravel<\/strong><\/h2>\n\n\n\n<p>If you don\u2019t already have a Laravel project, create a fresh installation:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>composer create-project --prefer-dist laravel\/laravel algolia_example<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 2: Install Required Packages<\/strong><\/h2>\n\n\n\n<p>We need two packages:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>laravel\/scout<\/strong> \u2013 provides the search integration.<\/li>\n\n\n\n<li><strong>algolia\/algoliasearch-client-php<\/strong> \u2013 connects Scout to Algolia.<\/li>\n<\/ol>\n\n\n\n<p>Install Scout:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>composer require laravel\/scout<\/code><\/pre>\n\n\n\n<p>Publish Scout\u2019s config file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan vendor:publish --provider=\"Laravel\\Scout\\ScoutServiceProvider\"<\/code><\/pre>\n\n\n\n<p>Now enable queue support in your .env file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SCOUT_QUEUE=true<\/code><\/pre>\n\n\n\n<p>Next, install the Algolia client:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><a><\/a> composer require algolia\/algoliasearch-client-php<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 3: Configure Algolia<\/strong><\/h2>\n\n\n\n<p>Create an account on <a href=\"https:\/\/www.algolia.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Algolia<\/a>.<\/p>\n\n\n\n<p>After logging in, grab your <strong>Application ID<\/strong> and <strong>Admin API Key<\/strong> from the Algolia dashboard.<\/p>\n\n\n\n<p>Add them to your .env file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ALGOLIA_APP_ID=your-app-id\n\nALGOLIA_SECRET=your-admin-api-key<\/code><\/pre>\n\n\n\n<p>Also, update <strong>config\/scout.php<\/strong> to use Algolia as the driver:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'driver' =&gt; env('SCOUT_DRIVER', 'algolia'),<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 4: Create Items Table and Model<\/strong><\/h2>\n\n\n\n<p>Generate a migration for an items table:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan make:migration create_items_table<\/code><\/pre>\n\n\n\n<p>Migration example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Schema::create('items', function (Blueprint $table) {\n\n$table-&gt;increments('id');\n\n$table-&gt;string('title');\n\n$table-&gt;timestamps();\n\n});<\/code><\/pre>\n\n\n\n<p>Run migration:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan migrate<\/code><\/pre>\n\n\n\n<p>Now create the <strong>Item <\/strong>model:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan make:model Item<\/code><\/pre>\n\n\n\n<p>Add the <strong>Searchable <\/strong>trait and define searchable fields:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>namespace App\\Models;\n\nuse Illuminate\\Database\\Eloquent\\Model;\n\nuse Laravel\\Scout\\Searchable;\n\nclass Item extends Model\n\n{\n\nuse Searchable;\n\nprotected $fillable = &#91;'title'];\n\npublic function searchableAs()\n\n{\n\nreturn 'items_index';\n\n}\n\npublic function toSearchableArray()\n\n{\n\nreturn &#91;\n\n'id' =&gt; $this-&gt;id,\n\n'title' =&gt; $this-&gt;title,\n\n];\n\n}\n\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 5: Add Routes<\/strong><\/h2>\n\n\n\n<p>Open routes\/web.php and add:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>use App\\Http\\Controllers\\ItemSearchController;\n\nRoute::get('items-lists', &#91;ItemSearchController::class, 'index'])-&gt;name('items-lists');\n\nRoute::post('create-item', &#91;ItemSearchController::class, 'create'])-&gt;name('create-item');<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 6: Create Controller<\/strong><\/h2>\n\n\n\n<p>Generate a controller:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan make:controller ItemSearchController<\/code><\/pre>\n\n\n\n<p>Inside <strong>ItemSearchController.php<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>namespace App\\Http\\Controllers;\n\nuse Illuminate\\Http\\Request;\n\nuse App\\Models\\Item;\n\nclass ItemSearchController extends Controller\n\n{\n\npublic function index(Request $request)\n\n{\n\nif ($request-&gt;has('titlesearch')) {\n\n$searchTerm = $request-&gt;titlesearch;\n\ntry {\n\n$items = Item::search($searchTerm)-&gt;paginate(6);\n\n} catch (\\Exception $e) {\n\n\/\/ fallback to database query if Algolia fails\n\n$items = Item::where('title', 'like', \"%{$searchTerm}%\")-&gt;paginate(6);\n\n}\n\n} else {\n\n$items = Item::paginate(6);\n\n}\n\nreturn view('item-search', compact('items'));\n\n}\n\npublic function create(Request $request)\n\n{\n\n$request-&gt;validate(&#91;\n\n'title' =&gt; 'required'\n\n]);\n\nItem::create($request-&gt;all());\n\nreturn back();\n\n}\n\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 7: Create Blade View<\/strong><\/h2>\n\n\n\n<p>Create a new file: <strong>resources\/views\/item-search.blade.php<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html&gt;\n\n&lt;html&gt;\n\n&lt;head&gt;\n\n&lt;title&gt;Laravel Scout Algolia Search Example&lt;\/title&gt;\n\n&lt;link rel=\"stylesheet\" href=\"https:\/\/maxcdn.bootstrapcdn.com\/bootstrap\/3.3.7\/css\/bootstrap.min.css\"&gt;\n\n&lt;\/head&gt;\n\n&lt;body&gt;\n\n&lt;div class=\"container\"&gt;\n\n&lt;h2&gt;Laravel Full Text Search using Scout &amp; Algolia&lt;\/h2&gt;\n\n{{-- Add New Item Form --}}\n\n&lt;form method=\"POST\" action=\"{{ route('create-item') }}\"&gt;\n\n@csrf\n\n&lt;div class=\"row\"&gt;\n\n&lt;div class=\"col-md-6\"&gt;\n\n&lt;input type=\"text\" name=\"title\" class=\"form-control\" placeholder=\"Enter Title\" required&gt;\n\n&lt;\/div&gt;\n\n&lt;div class=\"col-md-6\"&gt;\n\n&lt;button class=\"btn btn-success\"&gt;Create New Item&lt;\/button&gt;\n\n&lt;\/div&gt;\n\n&lt;\/div&gt;\n\n&lt;\/form&gt;\n\n&lt;br&gt;\n\n{{-- Search Form --}}\n\n&lt;form method=\"GET\" action=\"{{ route('items-lists') }}\"&gt;\n\n&lt;div class=\"row\"&gt;\n\n&lt;div class=\"col-md-6\"&gt;\n\n&lt;input type=\"text\" name=\"titlesearch\" class=\"form-control\" placeholder=\"Search by Title\"&gt;\n\n&lt;\/div&gt;\n\n&lt;div class=\"col-md-6\"&gt;\n\n&lt;button class=\"btn btn-primary\"&gt;Search&lt;\/button&gt;\n\n&lt;\/div&gt;\n\n&lt;\/div&gt;\n\n&lt;\/form&gt;\n\n&lt;br&gt;\n\n{{-- Item List --}}\n\n&lt;table class=\"table table-bordered\"&gt;\n\n&lt;thead&gt;\n\n&lt;tr&gt;\n\n&lt;th&gt;#&lt;\/th&gt;\n\n&lt;th&gt;Title&lt;\/th&gt;\n\n&lt;th&gt;Created&lt;\/th&gt;\n\n&lt;th&gt;Updated&lt;\/th&gt;\n\n&lt;\/tr&gt;\n\n&lt;\/thead&gt;\n\n&lt;tbody&gt;\n\n@forelse($items as $index =&gt; $item)\n\n&lt;tr&gt;\n\n&lt;td&gt;{{ $index + 1 }}&lt;\/td&gt;\n\n&lt;td&gt;{{ $item-&gt;title }}&lt;\/td&gt;\n\n&lt;td&gt;{{ $item-&gt;created_at }}&lt;\/td&gt;\n\n&lt;td&gt;{{ $item-&gt;updated_at }}&lt;\/td&gt;\n\n&lt;\/tr&gt;\n\n@empty\n\n&lt;tr&gt;\n\n&lt;td colspan=\"4\"&gt;No data found.&lt;\/td&gt;\n\n&lt;\/tr&gt;\n\n@endforelse\n\n&lt;\/tbody&gt;\n\n&lt;\/table&gt;\n\n{{ $items-&gt;links() }}\n\n&lt;\/div&gt;\n\n&lt;\/body&gt;\n\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 8: Import Existing Records into Algolia<\/strong><\/h2>\n\n\n\n<p>If your table already has data, sync it with Algolia:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan scout:import \"App\\Models\\Item\"<\/code><\/pre>\n\n\n\n<p>If queues are enabled, remind users to start the queue worker:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan queue:work<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 9: Run the Application<\/strong><\/h2>\n\n\n\n<p>Start the Laravel development server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan serve<\/code><\/pre>\n\n\n\n<p>Visit the app:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;&lt;host:port&gt;\/items-lists<\/code><\/pre>\n\n\n\n<p>Now you can add new items and search them using <strong>Algolia-powered full-text search<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"527\" src=\"https:\/\/200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-1024x527.png\" alt=\"Laravel full text search interface using Scout and Algolia displaying a list of electronic items with search and pagination functionality.\" class=\"wp-image-2804\" srcset=\"https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-1024x527.png 1024w, https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-300x154.png 300w, https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image-768x395.png 768w, https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/image.png 1517w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>In this tutorial, we successfully integrated <strong>Laravel Scout with Algolia<\/strong> to build a <strong>real-time full-text search feature<\/strong>.<\/p>\n\n\n\n<p>With Scout, you don\u2019t need to write complex search queries \u2013 it automatically syncs your models to Algolia and makes search blazing fast.<\/p>\n\n\n<div class=\"is-default-size wp-block-site-logo\"><a href=\"https:\/\/www.200oksolutions.com\/blog\/\" class=\"custom-logo-link light-mode-logo\" rel=\"home\"><img decoding=\"async\" width=\"484\" height=\"191\" src=\"https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2026\/01\/cropped-200ok_logo.png\" class=\"custom-logo\" alt=\"Web Development, Software, and App Blog | 200OK Solutions\" srcset=\"https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2026\/01\/cropped-200ok_logo.png 484w, https:\/\/www.200oksolutions.com\/blog\/wp-content\/uploads\/2026\/01\/cropped-200ok_logo-300x118.png 300w\" sizes=\"(max-width: 484px) 100vw, 484px\" \/><\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>In this tutorial, I\u2019ll Walk you through a step-by-step example of implementing full-text search in Laravel using&hellip;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[1296,1293,1294,1295,1292],"class_list":["post-2803","post","type-post","status-publish","format-standard","hentry","category-laravel","tag-algolia-search-laravel","tag-eloquent-search","tag-laravel-full-text-search","tag-laravel-search-example","tag-scout-algolia-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Laravel Scout Algolia Search Example | Full-Text Search in Laravel Web Development, Software, and App Blog | 200OK Solutions<\/title>\n<meta name=\"description\" content=\"Step-by-step Laravel Scout Algolia search tutorial. Learn how to implement fast and efficient full-text search in Laravel using Scout and Algolia\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Laravel Scout Algolia Search Example | Full-Text Search in Laravel Web Development, Software, and App Blog | 200OK Solutions\" \/>\n<meta property=\"og:description\" content=\"Step-by-step Laravel Scout Algolia search tutorial. Learn how to implement fast and efficient full-text search in Laravel using Scout and Algolia\" \/>\n<meta property=\"og:url\" content=\"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Development, Software, and App Blog | 200OK Solutions\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-07T11:08:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-04T07:44:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-1024x576.jpg\" \/>\n<meta name=\"author\" content=\"Piyush Solanki\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Piyush Solanki\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Laravel Scout Algolia Search Example | Full-Text Search in Laravel Web Development, Software, and App Blog | 200OK Solutions","description":"Step-by-step Laravel Scout Algolia search tutorial. Learn how to implement fast and efficient full-text search in Laravel using Scout and Algolia","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/","og_locale":"en_US","og_type":"article","og_title":"Laravel Scout Algolia Search Example | Full-Text Search in Laravel Web Development, Software, and App Blog | 200OK Solutions","og_description":"Step-by-step Laravel Scout Algolia search tutorial. Learn how to implement fast and efficient full-text search in Laravel using Scout and Algolia","og_url":"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/","og_site_name":"Web Development, Software, and App Blog | 200OK Solutions","article_published_time":"2025-10-07T11:08:19+00:00","article_modified_time":"2025-12-04T07:44:02+00:00","og_image":[{"url":"https:\/\/200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-1024x576.jpg","type":"","width":"","height":""}],"author":"Piyush Solanki","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Piyush Solanki","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/#article","isPartOf":{"@id":"https:\/\/www.200oksolutions.com\/blog\/laravel-scout-algolia-search-example-step-by-step-guide\/"},"author":{"name":"Piyush Solanki","@id":"https:\/\/www.200oksolutions.com\/blog\/#\/schema\/person\/e07f6b8e3c9a90ce7b3b09427d26155e"},"headline":"Laravel Scout Algolia Search Example: Step-by-Step Guide","datePublished":"2025-10-07T11:08:19+00:00","dateModified":"2025-12-04T07:44:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.200oksolutions.com\/blog\/laravel-scout-algolia-search-example-step-by-step-guide\/"},"wordCount":341,"commentCount":0,"publisher":{"@id":"https:\/\/www.200oksolutions.com\/blog\/#organization"},"image":{"@id":"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/#primaryimage"},"thumbnailUrl":"https:\/\/200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-1024x576.jpg","keywords":["Algolia search Laravel","Eloquent search","Laravel full-text search","Laravel search example","Scout Algolia tutorial"],"articleSection":["Laravel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/#respond"]}]},{"@type":["WebPage","SearchResultsPage"],"@id":"https:\/\/www.200oksolutions.com\/blog\/laravel-scout-algolia-search-example-step-by-step-guide\/","url":"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/","name":"Laravel Scout Algolia Search Example | Full-Text Search in Laravel Web Development, Software, and App Blog | 200OK Solutions","isPartOf":{"@id":"https:\/\/www.200oksolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/#primaryimage"},"image":{"@id":"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/#primaryimage"},"thumbnailUrl":"https:\/\/200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-1024x576.jpg","datePublished":"2025-10-07T11:08:19+00:00","dateModified":"2025-12-04T07:44:02+00:00","description":"Step-by-step Laravel Scout Algolia search tutorial. Learn how to implement fast and efficient full-text search in Laravel using Scout and Algolia","breadcrumb":{"@id":"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/#primaryimage","url":"https:\/\/200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-1024x576.jpg","contentUrl":"https:\/\/200oksolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Laravel-Scout-Algolia-Search-Example-1024x576.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/200oksolutions.com\/blog\/laravel-scout-algolia-search-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.200oksolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Home > Blog > Laravel > Laravel Scout Algolia Search Example"}]},{"@type":"WebSite","@id":"https:\/\/www.200oksolutions.com\/blog\/#website","url":"https:\/\/www.200oksolutions.com\/blog\/","name":"Web Development, Software, and App Blog | 200OK Solutions","description":"","publisher":{"@id":"https:\/\/www.200oksolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.200oksolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.200oksolutions.com\/blog\/#organization","name":"Web Development Blog | Software Blog | App Blog","url":"https:\/\/www.200oksolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.200oksolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/200oksolutions.com\/blog\/wp-content\/uploads\/2025\/09\/200ok_logo-CGzMrWDu.png","contentUrl":"https:\/\/200oksolutions.com\/blog\/wp-content\/uploads\/2025\/09\/200ok_logo-CGzMrWDu.png","width":500,"height":191,"caption":"Web Development Blog | Software Blog | App Blog"},"image":{"@id":"https:\/\/www.200oksolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.instagram.com\/200ok_solutions\/"]},{"@type":"Person","@id":"https:\/\/www.200oksolutions.com\/blog\/#\/schema\/person\/e07f6b8e3c9a90ce7b3b09427d26155e","name":"Piyush Solanki","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.200oksolutions.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/962a2b0b4db856e6851ec7d838597a0395adcaae9c0091d223de9942a4254461?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/962a2b0b4db856e6851ec7d838597a0395adcaae9c0091d223de9942a4254461?s=96&d=mm&r=g","caption":"Piyush Solanki"},"description":"Piyush is a seasoned PHP Tech Lead with 10+ years of experience architecting and delivering scalable web and mobile backend solutions for global brands and fast-growing SMEs. He specializes in PHP, MySQL, CodeIgniter, WordPress, and custom API development, helping businesses modernize legacy systems and launch secure, high-performance digital products. He collaborates closely with mobile teams building Android &amp; iOS apps , developing RESTful APIs, cloud integrations, and secure payment systems using platforms like Stripe, AWS S3, and OTP\/SMS gateways. His work extends across CMS customization, microservices-ready backend architectures, and smooth product deployments across Linux and cloud-based environments. Piyush also has a strong understanding of modern front-end technologies such as React and TypeScript, enabling him to contribute to full-stack development workflows and advanced admin panels. With a successful delivery track record in the UK market and experience building digital products for sectors like finance, hospitality, retail, consulting, and food services, Piyush is passionate about helping SMEs scale technology teams, improve operational efficiency, and accelerate innovation through backend excellence and digital tools.","url":"https:\/\/www.200oksolutions.com\/blog\/author\/piyush\/"}]}},"_links":{"self":[{"href":"https:\/\/www.200oksolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.200oksolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.200oksolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.200oksolutions.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.200oksolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=2803"}],"version-history":[{"count":3,"href":"https:\/\/www.200oksolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2803\/revisions"}],"predecessor-version":[{"id":2816,"href":"https:\/\/www.200oksolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2803\/revisions\/2816"}],"wp:attachment":[{"href":"https:\/\/www.200oksolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=2803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.200oksolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=2803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.200oksolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=2803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}