Download the PHP package limenet/laravel-elastica-bridge without Composer
On this page you can find all versions of the php package limenet/laravel-elastica-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download limenet/laravel-elastica-bridge
More information about limenet/laravel-elastica-bridge
Files in limenet/laravel-elastica-bridge
Package laravel-elastica-bridge
Short Description A simple bridge between Laravel and Elasticsearch using Elastica
License MIT
Homepage https://github.com/limenet/laravel-elastica-bridge
Informations about the package laravel-elastica-bridge
Laravel-Elastica Bridge
A simple bridge between Laravel and Elasticsearch using Elastica, based on https://github.com/valantic/pimcore-elastica-bridge.
Requirements
- PHP 8.1+
- Laravel 10.0
- Job Batching is setup
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Usage
- Add
Limenet\LaravelElasticaBridge\Model\ElasticsearchableInterface
andLimenet\LaravelElasticaBridge\Model\ElasticsearchableTrait
to a model - Create a class extending
Limenet\LaravelElasticaBridge\Index\AbstractIndex
- Add the index to your config (
elastica-bridge.indices
) - Run
php artisan elastica-bridge:index
- Check using
php artisan elastica-bridge:status
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Linus Metzler
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-elastica-bridge with dependencies
laravel/framework Version ^10.0 || ^11.0
ruflin/elastica Version ^7.1 || 8.x-dev
spatie/laravel-package-tools Version ^1.13.0