PHPackages                             tommie1001/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. tommie1001/laravel-scout-database

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

tommie1001/laravel-scout-database
=================================

Generic database driver for laravel scout.

013PHP

Since Jan 24Pushed 1y agoCompare

[ Source](https://github.com/tommie1001/laravel-scout-database)[ Packagist](https://packagist.org/packages/tommie1001/laravel-scout-database)[ RSS](/packages/tommie1001-laravel-scout-database/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)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

16

—

LowBetter than 5% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

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)")

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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