2017 © Pedro Peláez
 

library laravel-scout-database

Generic database driver for laravel scout.

image

boxed-code/laravel-scout-database

Generic database driver for laravel scout.

  • Saturday, February 24, 2018
  • by olsgreen
  • Repository
  • 1 Watchers
  • 1 Stars
  • 164 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 4 % Grown

The README.md

Laravel Scout Database Driver

Latest Stable Version Total Downloads License Tests, (*1)

This is a basic database backed driver for Laravel 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., (*2)

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 & indexes as these are somewhat provider specific and would prevent the goal of it being able to operate with any architecture., (*3)

This driver is zero configuration, requiring you to only add the service provider & run the migration., (*4)

Requires Scout 8.x or 9.x and PHP >=7.2 or >=8.0, (*5)

Installation

You can install the package via composer:, (*6)

``` bash composer require boxed-code/laravel-scout-database, (*7)


You must add the Scout service provider and the package service provider in your app.php config: ```php // config/app.php 'providers' => [ ... Laravel\Scout\ScoutServiceProvider::class, ... BoxedCode\Laravel\Scout\DatabaseEngineServiceProvider::class, ],

Then run the migrations via the console, (*8)

php artisan migrate

Usage

Now you can use Laravel Scout as described in the official documentation, (*9)

License

The MIT License (MIT)., (*10)

The Versions

24/02 2018

dev-master

9999999-dev

Generic database driver for laravel scout.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oliver Green

database laravel mysql sqlite scout

24/02 2018

0.9.2

0.9.2.0

Generic database driver for laravel scout.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oliver Green

database laravel mysql sqlite scout

05/02 2018

0.9.1

0.9.1.0

Generic database driver for laravel scout.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oliver Green

database laravel mysql sqlite scout

07/07 2017

0.9.0

0.9.0.0

Generic database driver for laravel scout.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oliver Green

database laravel mysql sqlite scout