PHPackages                             spatie/laravel-site-search - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. spatie/laravel-site-search

ActiveLibrary[Search &amp; Filtering](/categories/search)

spatie/laravel-site-search
==========================

A site search engine

3.0.3(2mo ago)311139.0k↓59.6%26MITPHPPHP ^8.4CI passing

Since Oct 17Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/spatie/laravel-site-search)[ Packagist](https://packagist.org/packages/spatie/laravel-site-search)[ Docs](https://github.com/spatie/laravel-site-search)[ GitHub Sponsors](https://github.com/spatie)[ RSS](/packages/spatie-laravel-site-search/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (39)Versions (42)Used By (0)

 [   ![Logo for laravel-site-search](https://camo.githubusercontent.com/b1019caeb40b41e356a7f0959732ab014cb36dd1157eb83ac4cbe45fb72d7e21/68747470733a2f2f7370617469652e62652f7061636b616765732f6865616465722f6c61726176656c2d736974652d7365617263682f68746d6c2f6c696768742e77656270)  ](https://spatie.be/open-source?utm_source=github&utm_medium=banner&utm_campaign=laravel-site-search)Create a full-text search index by crawling your site
=====================================================

[](#create-a-full-text-search-index-by-crawling-your-site)

[![Latest Version on Packagist](https://camo.githubusercontent.com/96ba766ffba3c410d0cb53cf62f1282f6dac7e5cd66dac4406fb6edb523176d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370617469652f6c61726176656c2d736974652d7365617263682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/laravel-site-search)[![Total Downloads](https://camo.githubusercontent.com/fe105df4af16d5a3eca413e765890b8c0c2658b048774ec740065cb231544ea7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370617469652f6c61726176656c2d736974652d7365617263682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/laravel-site-search)

This package can crawl and index your entire site. You can think of it as a private Google search. What gets crawled and indexed can be highly customized. By default, a local SQLite database with FTS5 is used, so no external dependencies are needed. Optionally, you can use Meilisearch for more advanced search features.

When crawling your site, multiple concurrent connections are used to speed up the crawling process.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/0f121a19850c240b7feb663f0721ff8ec3ac00bea51efacd1bc71f6bc33aead6/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d736974652d7365617263682e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-site-search)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Documentation
-------------

[](#documentation)

You will find full documentation on [the dedicated documentions site](https://spatie.be/docs/laravel-site-search).

Testing
-------

[](#testing)

```
composer test
```

Some tests require a local Meilisearch instance running on port 7700.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Freek Van der Herten](https://github.com/freekmurze)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

65

—

FairBetter than 99% of packages

Maintenance86

Actively maintained with recent releases

Popularity51

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 84.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~51 days

Recently: every ~27 days

Total

34

Last Release

70d ago

Major Versions

0.0.5 → 1.0.02021-10-19

1.5.0 → 2.0.02023-06-04

1.5.1 → 2.1.02023-08-02

v1.x-dev → 2.3.02024-06-17

2.7.0 → 3.0.02026-03-02

PHP version history (4 changes)0.0.1PHP ^8.0

2.0.0PHP ^8.1

2.7.0PHP ^8.3

3.0.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7535935?v=4)[Spatie](/maintainers/spatie)[@spatie](https://github.com/spatie)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (226 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (10 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (5 commits)")[![otherpaco](https://avatars.githubusercontent.com/u/27810032?v=4)](https://github.com/otherpaco "otherpaco (5 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (4 commits)")[![marcreichel](https://avatars.githubusercontent.com/u/7645035?v=4)](https://github.com/marcreichel "marcreichel (3 commits)")[![jimirobaer](https://avatars.githubusercontent.com/u/8984769?v=4)](https://github.com/jimirobaer "jimirobaer (3 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (3 commits)")[![georgejipa](https://avatars.githubusercontent.com/u/4528530?v=4)](https://github.com/georgejipa "georgejipa (2 commits)")[![Pluiesurlavitre](https://avatars.githubusercontent.com/u/11065186?v=4)](https://github.com/Pluiesurlavitre "Pluiesurlavitre (1 commits)")[![tristanrollet](https://avatars.githubusercontent.com/u/11065186?v=4)](https://github.com/tristanrollet "tristanrollet (1 commits)")[![SimonJulian](https://avatars.githubusercontent.com/u/22329077?v=4)](https://github.com/SimonJulian "SimonJulian (1 commits)")[![timmydhooghe](https://avatars.githubusercontent.com/u/63366355?v=4)](https://github.com/timmydhooghe "timmydhooghe (1 commits)")[![timvandijck](https://avatars.githubusercontent.com/u/4528796?v=4)](https://github.com/timvandijck "timvandijck (1 commits)")[![jmadlena](https://avatars.githubusercontent.com/u/4220680?v=4)](https://github.com/jmadlena "jmadlena (1 commits)")

---

Tags

crawlhacktoberfestlaravelphpsearchsitespatiesearchlaravelcrawllaravel-site-search

###  Code Quality

TestsPest

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/spatie-laravel-site-search/health.svg)

```
[![Health](https://phpackages.com/badges/spatie-laravel-site-search/health.svg)](https://phpackages.com/packages/spatie-laravel-site-search)
```

###  Alternatives

[laravel/reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.

1.6k17.8M115](/packages/laravel-reverb)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

818355.4k3](/packages/defstudio-telegraph)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

679153.2k7](/packages/spatie-laravel-export)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5226.7k](/packages/simplestats-io-laravel-client)[wnx/laravel-backup-restore

A package to restore database backups made with spatie/laravel-backup.

214456.3k2](/packages/wnx-laravel-backup-restore)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
