gpt4 book ai didi

php - sphinx 搜索 Laravel 5.2 "Nothing to publish for tag []."

转载 作者:搜寻专家 更新时间:2023-10-31 20:35:22 27 4
gpt4 key购买 nike

我已经在我的系统上安装了 sphinxsearch,并且可以正常运行核心 php。现在我想将它用于 laravel 5.2。我已经按照这些步骤

1) install composer
2) 'providers' => array(
'Scalia\SphinxSearch\SphinxSearchServiceProvider',
)
3) 'aliases' => array(
'SphinxSearch' => 'Scalia\SphinxSearch\SphinxSearchFacade',
)
4) php artisan config:clear

5) php artisan config:publish scalia/sphinxsearch
error [InvalidArgumentException]
Command "config:publish" is not defined.
Did you mean one of these?
vendor:publish
config:clear
config:cache

6) php artisan vendor:publish --provider=sngrl\SphinxSearch\SphinxSearchServiceProvider --force
Nothing to publish for tag [].

我如何在 laravel 中配置 sphinxsearch

最佳答案

在控制台中运行

php artisan vendor:publish

关于php - sphinx 搜索 Laravel 5.2 "Nothing to publish for tag [].",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36975455/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com