osushi / elasticsearch-orm
O/R Mapper For ElasticSearch Like a Laravel Eloquent
Installs: 674
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 1
Open Issues: 0
Type:package
Requires
- php: >=7.0.0
- elasticsearch/elasticsearch: ~6.0.0
- dev-master
- 6.5.x-dev
- 6.5.4
- 6.5.3
- 6.5.2
- 6.5.1
- 6.5.0
- 6.4.x-dev
- 6.4.4
- 6.4.3
- 6.4.2
- 6.4.1
- 6.4.0
- 6.3.x-dev
- 6.3.4
- 6.3.3
- 6.3.2
- 6.3.1
- 6.3.0
- 6.2.x-dev
- 6.2.6
- 6.2.5
- 6.2.4
- 6.2.3
- 6.2.2
- 6.2.1
- 6.2.0
- 6.1.x-dev
- 6.1.3
- 6.1.2
- 6.1.1
- 6.1.0
- 6.0.x-dev
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- 5.6.x-dev
- 5.6.6
- 5.6.5
- 5.6.4
- 5.6.3
- 5.6.2
- 5.6.1
- 5.6.0
This package is auto-updated.
Last update: 2025-03-13 21:09:14 UTC
README
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