我已经在我的系统上安装了 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 - sphinxsearch Laravel 5.2 "Nothing to publish for tag [].",我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/36975455/