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 1w 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

15

—

LowBetter than 3% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity17

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://avatars.githubusercontent.com/u/50906358?v=4)[Thomas Wijnands](/maintainers/tommie1001)[@tommie1001](https://github.com/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

[jdorn/sql-formatter

a PHP SQL highlighting library

3.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

2920.0k](/packages/voku-session2db)

PHPackages © 2026

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