php
>= 7.0.0
$ composer require osushi/elasticsearch-orm:~{version}
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
[config/app.php]
Osushi\ElasticsearchOrm\Providers\ElasticsearchOrmServiceProvider::class
$ php artisan vendor:publish --provider="Osushi\ElasticsearchOrm\Providers\ElasticsearchOrmServiceProvider"
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
MIT