定制 gonoware/laravel-scout-database 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

gonoware/laravel-scout-database

Composer 安装命令:

composer require gonoware/laravel-scout-database

包简介

Generic database driver for Laravel Scout.

README 文档

README

GitLab Repository Laravel Version Latest Stable Version StyleCI License Total Downloads

Forked from github.com/boxed-code/laravel-scout-database

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.

Searchable model attributes are JSON encoded an placed in a text column for simplicity, the very primitive 'like' operator is used to perform queries. It is fully functional supporting additional where clauses, etc. The driver deliberately avoids 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.

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

Installation

This package can be installed through Composer.

composer require gonoware/laravel-scout-database

Laravel 5.5+ uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

Then run the migrations via the console

php artisan migrate

Usage

When the installation is done set SCOUT_DRIVER='database' in your .env.

Now you can use Laravel Scout as described in the official documentation

https://laravel.com/docs/master/scout#indexing

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email em@gonoware.com instead of using the issue tracker.

Credits

License

MIT

Copyright (c) 2018-present Go NoWare

FOSSA Status

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固