d3jn / larelastic
v0.6.1
2019-09-23 08:29 UTC
Requires
- php: >=7.1.3
- elasticsearch/elasticsearch: ~6.0
- illuminate/console: >=5.6
- illuminate/support: >=5.6
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.15
README
Yet another take on integrating Elasticsearch into Laravel.
Getting Started
Prerequisites
This package was developed using Laravel 5.6. As of now older versions are not tested/supported. You will also need a running Elasticsearch service of version >6.0.
Installing
Use composer to install this package:
composer require d3jn/larelastic
Laravel Package Auto-Discovery
should handle adding service provider for you automatically or you can manually add it to your providers list in app.php
:
'providers' => [ ... D3jn\Larelastic\LarelasticServiceProvider::class, ... ],
Lastly you should publish it's configuration file:
php artisan vendor:publish --provider="D3jn\Larelastic\LarelasticServiceProvider"
Now you can proceed with configuring this package for your needs.
Built With
- Laravel - The web framework used
- Elasticsearch PHP API - Library for elasticsearch PHP integration
Authors
- Serhii Yaniuk - d3jn
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Tony Messias for the original concept that can be found here