php-sphinxsearch Laravel 5.2“没有发布标签[].”

我已经在我的系统上安装了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 RT索引和SphinxQL查询


下一篇:linux-尝试终止进程时出错—“ kill:pid:参数必须是进程或作业ID”