laravel 7๊ณผ ํจ๊ป meilisearch-laravel-scout์ ์ค์นํ๋ ค๊ณ ํ ๋
๊ทธ๊ฒ์ ์ค๋ฅ๋ฅผ ๋ณด์ฌ์ค๋๋ค:
composer require meilisearch/meilisearch-laravel-scout
Problem 1
- Installation request for meilisearch/meilisearch-laravel-scout ^0.11.0 -> satisfiable by meilisearch/meilisearch-laravel-scout[v0.11.0].
- Can only install one of: guzzlehttp/guzzle[6.5.x-dev, 7.0.1].
- Can only install one of: guzzlehttp/guzzle[7.0.1, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[6.5.x-dev, 7.0.1].
- Conclusion: install guzzlehttp/guzzle 6.5.x-dev
- Installation request for guzzlehttp/guzzle (locked at 7.0.1, required as ^7.0) -> satisfiable by guzzlehttp/guzzle[7.0.1].
์๋ ํ์ธ์ @dreamcog์ ๋๋ค!
์ด ๋ฌธ์ ๋ meilisearch-php์ ์ด
ํผ๋๋ฐฑ๊ณผ MeilISearch๋ฅผ ์ฌ์ฉํด ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค ๐
@curquiza ๋ต๋ณ ๊ฐ์ฌํฉ๋๋ค.
์ค๋ meilisearch-php์ ๊ฒ์๋ ๋ฌธ์ ๋ฅผ ์ฝ์์ต๋๋ค. ์ง์ ํด๊ฒฐํด ๋ณด๊ฒ ์ต๋๋ค. :)
์์ ์ฌํญ์ ๋ํด ๊ณ์ ์๋ ค์ฃผ์ธ์! :)
์ฌ๊ธฐ์ ๊ฐ์ ๋ฌธ์ ๊ฐ ์์ต๋๋ค. ๋น ๋ฅธ ํด๊ฒฐ์ฑ ์ด ์์ต๋๊น?
์๋ ํ์ธ์ @felixgoldstein์ ๋๋ค! ์ฃ์กํฉ๋๋ค. ์ง๊ธ ๋น์ฅ ๋๋ฆด ์ ์๋ ๋น ๋ฅธ ์๋ฃจ์ ์ด ์์ต๋๋ค. ์ด PR https://github.com/meilisearch/meilisearch-php/pull/81 (์ด๋ฏธ ๋ณด์์ ์๋ ์์)์ด ์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํฉ๋๋ค. ์ด ๋ณ๊ฒฝ ์ฌํญ์ด ํฌํจ๋ ์ ๋ฆด๋ฆฌ์ค๊ฐ ๊ณง ์ ๊ณต๋ฉ๋๋ค!
@felixgoldstein Laravel 7๊ณผ ํจ๊ป ํจํค์ง๋ฅผ ์ฌ์ฉํ๊ณ ์์ต๋๋ค. meilisearch/meilisearch-php#81์ด ํด๊ฒฐ๋ ๋๊น์ง "guzzlehttp / guzzle": "^ 6.3"์ ์ฌ์ฉํด์ผ ํฉ๋๋ค.
์ด์ ๋ฒ์ ์ Laravel์ ๋ํด ์ด ์ง์์ ์ ๊ณตํ์ญ์์ค.
@curquiza @IvanG11 meilisearch-php์ ํฌํฌ๋ฅผ ์์ฑํ๊ณ ๋ด ํฌํฌ์ ๊ณต๊ฐ ํ ์์ฒญ์ ์ ์ฉํ์ฌ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ์ต๋๋ค. - laravel 8๊ณผ ํจ๊ป ์์ ํ์ต๋๋ค.
@bensherred ์ ๋ถ๊ธฐ๋ก ํด๊ฒฐํ์ต๋๋ค. ๊ฐ์ฌํฉ๋๋ค.
1. v0.14 melisearch-php ์ค์น
$ composer require meilisearch/meilisearch-php symfony/http-client nyholm/psr7:^1.0
2. @bensherred meilisearch-laravel-scout ๋ธ๋์น๋ฅผ ์ค์นํฉ๋๋ค.
"repositories": [
{
"type" : "vcs",
"url" : "https://github.com/bensherred/meilisearch-laravel-scout.git"
}
]
๊ทธ๋ฆฌ๊ณ
"meilisearch/meilisearch-laravel-scout": "dev-update-meilisearch-php",
@bensherred ๊ฐ์ฌํฉ๋๋ค
์๋ ํ์ธ์ @dreamcog๋ , ์ ๋ ๊ทธ ์ ๊ทผ ๋ฐฉ์์ ์ฌ์ฉํ๋ ๊ฒ์ ๊ถ์ฅํ์ง ์์ต๋๋ค. ๋ณ๊ฒฝ ์ฌํญ์ ํ ์คํธํ๋ ๋ฐ๋ ๋ฌธ์ ๊ฐ ์์ง๋ง ์๊ตฌ์ ์ธ ์์ ์ฌํญ์ ์๋๋๋ค. ์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ณ ๋ณ๊ฒฝ ์ฌํญ์ ์ด ๋ฆฌํฌ์งํ ๋ฆฌ์ ๋ณํฉํ PR์ด ์์ต๋๋ค.
์ด์ v0.12.0 ์ด
์ด๊ฒ์ Laravel 7์์ ์์ง ์์ ๋์ง ์์์ต๋๋ค.
Problem 1
- Can only install one of: laravel/scout[8.x-dev, v7.2.1].
- Can only install one of: laravel/scout[v7.2.1, 8.x-dev].
- Can only install one of: laravel/scout[8.x-dev, v7.2.1].
- meilisearch/meilisearch-laravel-scout v0.12.0 requires laravel/scout ^8.0 -> satisfiable by laravel/scout[8.x-dev].
- Installation request for meilisearch/meilisearch-laravel-scout ^0.12.0 -> satisfiable by meilisearch/meilisearch-laravel-scout[v0.12.0].
- Installation request for laravel/scout (locked at v7.2.1, required as ^7.2) -> satisfiable by laravel/scout[v7.2.1].
@rizalfauzie composer.json ์ข ์ ํญ๋ชฉ์ ๋ด์ฉ์ ๋ณด๋ผ ์ ์์ต๋๊น?
laravel/scout ์ค์น ์์ฒญ(v7.2.1์์ ์ ๊น, ...)
laravel scout ๋ฒ์ ์ ^8๋ก ์ ๊ทธ๋ ์ด๋ํด์ผ ํ ๊ฒ์ ๋๋ค(meilisearch์ ํ์).
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์๋ ํ์ธ์ @dreamcog๋ , ์ ๋ ๊ทธ ์ ๊ทผ ๋ฐฉ์์ ์ฌ์ฉํ๋ ๊ฒ์ ๊ถ์ฅํ์ง ์์ต๋๋ค. ๋ณ๊ฒฝ ์ฌํญ์ ํ ์คํธํ๋ ๋ฐ๋ ๋ฌธ์ ๊ฐ ์์ง๋ง ์๊ตฌ์ ์ธ ์์ ์ฌํญ์ ์๋๋๋ค. ์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ณ ๋ณ๊ฒฝ ์ฌํญ์ ์ด ๋ฆฌํฌ์งํ ๋ฆฌ์ ๋ณํฉํ PR์ด ์์ต๋๋ค.