PHPackages                             boxed-code/laravel-scout-database - 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. [Database &amp; ORM](/categories/database)
4. /
5. boxed-code/laravel-scout-database

ActiveLibrary[Database &amp; ORM](/categories/database)

boxed-code/laravel-scout-database
=================================

Generic database driver for laravel scout.

1.2(5y ago)1158.2k↓77.9%4MITPHPPHP ^7.2|^8.0CI failing

Since Jul 7Pushed 1y ago2 watchersCompare

[ Source](https://github.com/boxed-code/laravel-scout-database)[ Packagist](https://packagist.org/packages/boxed-code/laravel-scout-database)[ RSS](/packages/boxed-code-laravel-scout-database/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (3)Versions (12)Used By (0)

Laravel Scout Database Driver
=============================

[](#laravel-scout-database-driver)

[![Latest Stable Version](https://camo.githubusercontent.com/f6b72fc636e753d0e497468f0639ba9eecd0b94900288ad5d5a9c89dcc86266a/68747470733a2f2f706f7365722e707567782e6f72672f626f7865642d636f64652f6c61726176656c2d73636f75742d64617461626173652f76)](//packagist.org/packages/boxed-code/laravel-scout-database) [![Total Downloads](https://camo.githubusercontent.com/403890f0352da97aab035b570e3dc327608d8f00b076f8b0b6777002d58e85fc/68747470733a2f2f706f7365722e707567782e6f72672f626f7865642d636f64652f6c61726176656c2d73636f75742d64617461626173652f646f776e6c6f616473)](//packagist.org/packages/boxed-code/laravel-scout-database) [![License](https://camo.githubusercontent.com/1430c24c91c0feef479b019f6eaa5db34f614efd37a1d74e7b606194a59c27b8/68747470733a2f2f706f7365722e707567782e6f72672f626f7865642d636f64652f6c61726176656c2d73636f75742d64617461626173652f6c6963656e7365)](//packagist.org/packages/boxed-code/laravel-scout-database)[![Tests](https://github.com/boxed-code/laravel-scout-database/actions/workflows/run_tests.yml/badge.svg)](https://github.com/boxed-code/laravel-scout-database/actions/workflows/run_tests.yml)

This is a basic database backed driver [for Laravel Scout](https://laravel.com/docs/5.4/scout). It is intended for use during development to avoid the need to setup an elastic instance or agolia and instead uses your active database configuration.

Searchable model attributes are JSON encoded an placed in a text column for simplicity, the very primative 'like' operator is used to perform queries. It is fully functional supporting additional where clauses, etc. The driver deliberately avoides using free text queries &amp; indexes as these are somewhat provider specific and would prevent the goal of it being able to operate with any architecture.

This driver is zero configuration, requiring you to only add the service provider &amp; run the migration.

*Requires Scout 8.x or 9.x and PHP &gt;=7.2 or &gt;=8.0*

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require boxed-code/laravel-scout-database
```

You must add the Scout service provider and the package service provider in your app.php config:

```
// config/app.php
'providers' => [
    ...
    Laravel\Scout\ScoutServiceProvider::class,
    ...
    BoxedCode\Laravel\Scout\DatabaseEngineServiceProvider::class,
],
```

Then run the migrations via the console

```
php artisan migrate
```

Usage
-----

[](#usage)

Now you can use Laravel Scout as described in the [official documentation](https://laravel.com/docs/5.4/scout)

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 93.3% 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 ~141 days

Recently: every ~166 days

Total

11

Last Release

1868d ago

Major Versions

0.9.5 → 1.02019-07-26

PHP version history (4 changes)0.9.0PHP &gt;=5.6.4

0.9.3PHP &gt;=7.0

1.0.2PHP &gt;=7.2

1.1PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c7480518d69b3d7e1f985e9f8b7f5aaf43f4cdeac87bda4eeb832c75f21f0d27?d=identicon)[olsgreen](/maintainers/olsgreen)

---

Top Contributors

[![olsgreen](https://avatars.githubusercontent.com/u/1324164?v=4)](https://github.com/olsgreen "olsgreen (28 commits)")[![jhoff](https://avatars.githubusercontent.com/u/627060?v=4)](https://github.com/jhoff "jhoff (1 commits)")[![tommie1001](https://avatars.githubusercontent.com/u/50906358?v=4)](https://github.com/tommie1001 "tommie1001 (1 commits)")

---

Tags

databaselaravelmysqlscoutsqlitelaraveldatabasemysqlsqlitescout

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/boxed-code-laravel-scout-database/health.svg)

```
[![Health](https://phpackages.com/badges/boxed-code-laravel-scout-database/health.svg)](https://phpackages.com/packages/boxed-code-laravel-scout-database)
```

###  Alternatives

[vcian/laravel-db-auditor

Database DB Auditor provide leverage to audit your MySql,sqlite, PostgreSQL database standards and also provide options to add constraints in table.

28638.1k1](/packages/vcian-laravel-db-auditor)[baril/sqlout

MySQL fulltext driver for Laravel Scout.

4513.9k](/packages/baril-sqlout)[moharrum/laravel-adminer

Adminer database management tool for your Laravel application.

451.0k](/packages/moharrum-laravel-adminer)[ramadan/easy-model

A Laravel package for enjoyably managing database queries.

111.6k](/packages/ramadan-easy-model)

PHPackages © 2026

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