search suggestions start

This commit is contained in:
merdan 2022-04-16 18:42:07 +05:00
parent 15729edbca
commit 123db028c3
2 changed files with 466 additions and 2 deletions

View File

@ -10,6 +10,7 @@
"require": {
"php": "^8.0.2",
"astrotomic/laravel-translatable": "^11.0.0",
"babenkoivan/elastic-scout-driver": "^2.0",
"bagisto/legacy-api": "^1.0",
"bagisto/rest-api": "dev-master",
"bagistobrasil/bagisto-product-social-share": "^0.1.2",
@ -33,7 +34,6 @@
"laravel/tinker": "^2.0",
"laravel/ui": "^3.0",
"maatwebsite/excel": "^3.1.26",
"prettus/l5-repository": "^2.6",
"pusher/pusher-php-server": "^7.0",
"spatie/laravel-ignition": "^1.0",

466
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "9dbd5d9b668629ac2b9ea3bc7c4d70a5",
"content-hash": "4d93465156616e48a22f70702da11d8f",
"packages": [
{
"name": "astrotomic/laravel-translatable",
@ -97,6 +97,217 @@
],
"time": "2022-02-05T10:42:52+00:00"
},
{
"name": "babenkoivan/elastic-adapter",
"version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/babenkoivan/elastic-adapter.git",
"reference": "16179d073785070984122eeaaa3f57651c673dec"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/babenkoivan/elastic-adapter/zipball/16179d073785070984122eeaaa3f57651c673dec",
"reference": "16179d073785070984122eeaaa3f57651c673dec",
"shasum": ""
},
"require": {
"elasticsearch/elasticsearch": "^7.3",
"php": "^7.3 || ^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"orchestra/testbench": "^6.20",
"phpstan/phpstan": "^0.12.32",
"phpunit/phpunit": "^9.5"
},
"type": "library",
"autoload": {
"psr-4": {
"ElasticAdapter\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ivan Babenko",
"email": "babenko.i.a@gmail.com"
}
],
"description": "Adapter for official PHP Elasticsearch client",
"keywords": [
"adapter",
"client",
"elastic",
"elasticsearch",
"php"
],
"support": {
"issues": "https://github.com/babenkoivan/elastic-adapter/issues",
"source": "https://github.com/babenkoivan/elastic-adapter/tree/v2.4.0"
},
"funding": [
{
"url": "https://ko-fi.com/ivanbabenko",
"type": "ko-fi"
},
{
"url": "https://paypal.me/babenkoi",
"type": "paypal"
}
],
"time": "2022-02-20T11:46:46+00:00"
},
{
"name": "babenkoivan/elastic-client",
"version": "v1.2.0",
"source": {
"type": "git",
"url": "https://github.com/babenkoivan/elastic-client.git",
"reference": "a1e818b444c5e64afd33a578aa4a009c54aff065"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/babenkoivan/elastic-client/zipball/a1e818b444c5e64afd33a578aa4a009c54aff065",
"reference": "a1e818b444c5e64afd33a578aa4a009c54aff065",
"shasum": ""
},
"require": {
"elasticsearch/elasticsearch": "^7.3",
"php": "^7.2 || ^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"orchestra/testbench": "^6.12",
"phpstan/phpstan": "^0.12.32",
"phpunit/phpunit": "^9.5"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"ElasticClient\\ServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"ElasticClient\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ivan Babenko",
"email": "babenko.i.a@gmail.com"
}
],
"description": "The official PHP Elasticsearch client integrated with Laravel",
"keywords": [
"client",
"elastic",
"elasticsearch",
"laravel",
"php"
],
"support": {
"issues": "https://github.com/babenkoivan/elastic-client/issues",
"source": "https://github.com/babenkoivan/elastic-client/tree/v1.2.0"
},
"funding": [
{
"url": "https://www.buymeacoffee.com/ivanbabenko",
"type": "buymeacoffee"
},
{
"url": "https://paypal.me/babenkoi",
"type": "paypal"
}
],
"time": "2021-02-16T07:28:08+00:00"
},
{
"name": "babenkoivan/elastic-scout-driver",
"version": "v2.0.0",
"source": {
"type": "git",
"url": "https://github.com/babenkoivan/elastic-scout-driver.git",
"reference": "db324d805bdf6a5b61f1c0c1fde2c9cc9d614320"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/babenkoivan/elastic-scout-driver/zipball/db324d805bdf6a5b61f1c0c1fde2c9cc9d614320",
"reference": "db324d805bdf6a5b61f1c0c1fde2c9cc9d614320",
"shasum": ""
},
"require": {
"babenkoivan/elastic-adapter": "^2.0",
"babenkoivan/elastic-client": "^1.2",
"php": "^7.3 || ^8.0"
},
"require-dev": {
"babenkoivan/elastic-migrations": "^2.0",
"friendsofphp/php-cs-fixer": "^3.0",
"laravel/legacy-factories": "^1.1",
"laravel/scout": "^9.0",
"orchestra/testbench": "^6.12",
"phpstan/phpstan": "^0.12.32",
"phpunit/phpunit": "^9.5"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"ElasticScoutDriver\\ServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"ElasticScoutDriver\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ivan Babenko",
"email": "babenko.i.a@gmail.com"
}
],
"description": "Elasticsearch driver for Laravel Scout",
"keywords": [
"driver",
"elastic",
"elasticsearch",
"laravel",
"php",
"scout"
],
"support": {
"issues": "https://github.com/babenkoivan/elastic-scout-driver/issues",
"source": "https://github.com/babenkoivan/elastic-scout-driver/tree/v2.0.0"
},
"funding": [
{
"url": "https://www.buymeacoffee.com/ivanbabenko",
"type": "buymeacoffee"
},
{
"url": "https://paypal.me/babenkoi",
"type": "paypal"
}
],
"time": "2021-10-05T17:13:51+00:00"
},
{
"name": "bagisto/legacy-api",
"version": "v1.0.0",
@ -1310,6 +1521,73 @@
],
"time": "2021-10-11T09:18:27+00:00"
},
{
"name": "elasticsearch/elasticsearch",
"version": "v7.17.0",
"source": {
"type": "git",
"url": "https://github.com/elastic/elasticsearch-php.git",
"reference": "1890f9d7fde076b5a3ddcf579a802af05b2e781b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/elastic/elasticsearch-php/zipball/1890f9d7fde076b5a3ddcf579a802af05b2e781b",
"reference": "1890f9d7fde076b5a3ddcf579a802af05b2e781b",
"shasum": ""
},
"require": {
"ext-json": ">=1.3.7",
"ezimuel/ringphp": "^1.1.2",
"php": "^7.3 || ^8.0",
"psr/log": "^1|^2|^3"
},
"require-dev": {
"ext-yaml": "*",
"ext-zip": "*",
"mockery/mockery": "^1.2",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^9.3",
"squizlabs/php_codesniffer": "^3.4",
"symfony/finder": "~4.0"
},
"suggest": {
"ext-curl": "*",
"monolog/monolog": "Allows for client-level logging and tracing"
},
"type": "library",
"autoload": {
"files": [
"src/autoload.php"
],
"psr-4": {
"Elasticsearch\\": "src/Elasticsearch/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0",
"LGPL-2.1-only"
],
"authors": [
{
"name": "Zachary Tong"
},
{
"name": "Enrico Zimuel"
}
],
"description": "PHP Client for Elasticsearch",
"keywords": [
"client",
"elasticsearch",
"search"
],
"support": {
"issues": "https://github.com/elastic/elasticsearch-php/issues",
"source": "https://github.com/elastic/elasticsearch-php/tree/v7.17.0"
},
"time": "2022-02-03T13:40:04+00:00"
},
{
"name": "enshrined/svg-sanitize",
"version": "0.15.4",
@ -1355,6 +1633,116 @@
},
"time": "2022-02-21T09:13:59+00:00"
},
{
"name": "ezimuel/guzzlestreams",
"version": "3.0.1",
"source": {
"type": "git",
"url": "https://github.com/ezimuel/guzzlestreams.git",
"reference": "abe3791d231167f14eb80d413420d1eab91163a8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ezimuel/guzzlestreams/zipball/abe3791d231167f14eb80d413420d1eab91163a8",
"reference": "abe3791d231167f14eb80d413420d1eab91163a8",
"shasum": ""
},
"require": {
"php": ">=5.4.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.0-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\Stream\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "Fork of guzzle/streams (abandoned) to be used with elasticsearch-php",
"homepage": "http://guzzlephp.org/",
"keywords": [
"Guzzle",
"stream"
],
"support": {
"source": "https://github.com/ezimuel/guzzlestreams/tree/3.0.1"
},
"time": "2020-02-14T23:11:50+00:00"
},
{
"name": "ezimuel/ringphp",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/ezimuel/ringphp.git",
"reference": "92b8161404ab1ad84059ebed41d9f757e897ce74"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ezimuel/ringphp/zipball/92b8161404ab1ad84059ebed41d9f757e897ce74",
"reference": "92b8161404ab1ad84059ebed41d9f757e897ce74",
"shasum": ""
},
"require": {
"ezimuel/guzzlestreams": "^3.0.1",
"php": ">=5.4.0",
"react/promise": "~2.0"
},
"replace": {
"guzzlehttp/ringphp": "self.version"
},
"require-dev": {
"ext-curl": "*",
"phpunit/phpunit": "~9.0"
},
"suggest": {
"ext-curl": "Guzzle will use specific adapters if cURL is present"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\Ring\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "Fork of guzzle/RingPHP (abandoned) to be used with elasticsearch-php",
"support": {
"source": "https://github.com/ezimuel/ringphp/tree/1.2.0"
},
"time": "2021-11-16T11:51:30+00:00"
},
{
"name": "ezyang/htmlpurifier",
"version": "v4.14.0",
@ -5972,6 +6360,82 @@
],
"time": "2022-03-27T21:42:02+00:00"
},
{
"name": "react/promise",
"version": "v2.9.0",
"source": {
"type": "git",
"url": "https://github.com/reactphp/promise.git",
"reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/reactphp/promise/zipball/234f8fd1023c9158e2314fa9d7d0e6a83db42910",
"reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910",
"shasum": ""
},
"require": {
"php": ">=5.4.0"
},
"require-dev": {
"phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.36"
},
"type": "library",
"autoload": {
"files": [
"src/functions_include.php"
],
"psr-4": {
"React\\Promise\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jan Sorgalla",
"email": "jsorgalla@gmail.com",
"homepage": "https://sorgalla.com/"
},
{
"name": "Christian Lück",
"email": "christian@clue.engineering",
"homepage": "https://clue.engineering/"
},
{
"name": "Cees-Jan Kiewiet",
"email": "reactphp@ceesjankiewiet.nl",
"homepage": "https://wyrihaximus.net/"
},
{
"name": "Chris Boden",
"email": "cboden@gmail.com",
"homepage": "https://cboden.dev/"
}
],
"description": "A lightweight implementation of CommonJS Promises/A for PHP",
"keywords": [
"promise",
"promises"
],
"support": {
"issues": "https://github.com/reactphp/promise/issues",
"source": "https://github.com/reactphp/promise/tree/v2.9.0"
},
"funding": [
{
"url": "https://github.com/WyriHaximus",
"type": "github"
},
{
"url": "https://github.com/clue",
"type": "github"
}
],
"time": "2022-02-11T10:27:51+00:00"
},
{
"name": "sabberworm/php-css-parser",
"version": "8.4.0",