ElasticsearchOrm
Requirements
php
>= 7.0.0
Installation
Laravel Installation
1) Install package using composer.
$ composer require osushi/elasticsearch-orm:~{version}
Version Metrics
Elasticsearch 5.6.x | Elasticsearch 6.0.x | Elasticsearch 6.1.x | Elasticsearch 6.2.x | Elasticsearch 6.3.x | Elasticsearch 6.4.x | Elasticsearch 6.5.x | |
---|---|---|---|---|---|---|---|
Laravel 5.5.x | ~5.6.0 | ~6.0.0 | ~6.1.0 | ~6.2.0 | ~6.3.0 | ~6.4.0 | ~6.5.0 |
Laravel 5.6.x | ~5.6.0 | ~6.0.0 | ~6.1.0 | ~6.2.0 | ~6.3.0 | ~6.4.0 | ~6.5.0 |
Laravel 5.7.x | ~5.6.0 | ~6.0.0 | ~6.1.0 | ~6.2.0 | ~6.3.0 | ~6.4.0 | ~6.5.0 |
e.g.
$ composer require osushi/elasticsearch-orm:~6.2.0
2) Add package service provider.
[config/app.php]
Osushi\ElasticsearchOrm\Providers\ElasticsearchOrmServiceProvider::class
3) Publishing.
$ php artisan vendor:publish --provider="Osushi\ElasticsearchOrm\Providers\ElasticsearchOrmServiceProvider"
Documents
Test
This package's coverage is 100%
# Laravel55
$ COMPOSER=composer-laravel55.json php composer.phar update
$ vendor/bin/phpunit
# Laravel56
$ COMPOSER=composer-laravel56.json php composer.phar update
$ vendor/bin/phpunit
# Laravel57
$ COMPOSER=composer-laravel57.json php composer.phar update
$ vendor/bin/phpunit
Inspire packages
License
MIT