A Doctrine bridge for Laravel Scout

0.4.0 2022-05-16 06:49 UTC

This package is auto-updated.

Last update: 2024-10-16 11:55:49 UTC


README

GitHub release Travis StyleCI Packagist Packagist

A drop-in Doctrine ORM 2 implementation for Laravel Scout

$repository->search('Albert Einstein')->get()

Documentation

Read the full documentation.

Versions

Require this package

composer require "laravel-doctrine/scout"

After adding the package, add the ServiceProvider to the providers array in config/app.php

Laravel\Scout\ScoutServiceProvider::class,
LaravelDoctrine\Scout\ScoutServiceProvider::class,

To publish the config use:

php artisan vendor:publish --tag="config"

License

This package is licensed under the MIT license.