{"id":36295610,"url":"https://github.com/boxed-code/laravel-scout-database","last_synced_at":"2026-01-13T23:45:25.856Z","repository":{"id":45201775,"uuid":"96536182","full_name":"boxed-code/laravel-scout-database","owner":"boxed-code","description":"A generic database driver for laravel scout that requires zero configuration.","archived":false,"fork":false,"pushed_at":"2025-01-24T14:38:55.000Z","size":30,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-28T16:59:53.862Z","etag":null,"topics":["database","laravel","mysql","scout","sqlite"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boxed-code.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-07T12:25:11.000Z","updated_at":"2025-01-24T14:38:59.000Z","dependencies_parsed_at":"2022-09-18T04:41:35.598Z","dependency_job_id":null,"html_url":"https://github.com/boxed-code/laravel-scout-database","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/boxed-code/laravel-scout-database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxed-code%2Flaravel-scout-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxed-code%2Flaravel-scout-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxed-code%2Flaravel-scout-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxed-code%2Flaravel-scout-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boxed-code","download_url":"https://codeload.github.com/boxed-code/laravel-scout-database/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxed-code%2Flaravel-scout-database/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","laravel","mysql","scout","sqlite"],"created_at":"2026-01-11T10:04:36.639Z","updated_at":"2026-01-13T23:45:25.847Z","avatar_url":"https://github.com/boxed-code.png","language":"PHP","readme":"# Laravel Scout Database Driver\n\n[![Latest Stable Version](https://poser.pugx.org/boxed-code/laravel-scout-database/v)](//packagist.org/packages/boxed-code/laravel-scout-database) [![Total Downloads](https://poser.pugx.org/boxed-code/laravel-scout-database/downloads)](//packagist.org/packages/boxed-code/laravel-scout-database) [![License](https://poser.pugx.org/boxed-code/laravel-scout-database/license)](//packagist.org/packages/boxed-code/laravel-scout-database)\n[![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)\n\nThis 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. \n\nSearchable 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 \u0026 indexes as these are somewhat provider specific and would prevent the goal of it being able to operate with any architecture.\n\nThis driver is zero configuration, requiring you to only add the service provider \u0026 run the migration.\n\n*Requires Scout 8.x or 9.x and PHP \u003e=7.2 or \u003e=8.0*\n\n## Installation\n\nYou can install the package via composer:\n\n``` bash\ncomposer require boxed-code/laravel-scout-database\n```\n\nYou must add the Scout service provider and the package service provider in your app.php config:\n\n```php\n// config/app.php\n'providers' =\u003e [\n    ...\n    Laravel\\Scout\\ScoutServiceProvider::class,\n    ...\n    BoxedCode\\Laravel\\Scout\\DatabaseEngineServiceProvider::class,\n],\n```\n\nThen run the migrations via the console\n```shell\nphp artisan migrate\n```\n\n## Usage\n\nNow you can use Laravel Scout as described in the [official documentation](https://laravel.com/docs/5.4/scout)\n\n## License\n\nThe MIT License (MIT).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxed-code%2Flaravel-scout-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboxed-code%2Flaravel-scout-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxed-code%2Flaravel-scout-database/lists"}