简体   繁体   English

有没有办法从 Laravel 中删除 algolia/scout?

[英]Is there a way to remove algolia/scout from laravel?

im am new to laravel and I recently installed Alogila on my Laravel application as I was working on a searching functionality using Laravel scout.我是 Laravel 的新手,我最近在我的 Laravel 应用程序上安装了 Alogila,因为我正在使用 Laravel scout 开发搜索功能。 The command I typed was composer require algolia/scout-extended我输入的命令是composer require algolia/scout-extended

I am getting an error saying Impossible to connect, please check your Algolia Application Id.我收到一条错误消息,提示无法连接,请检查您的 Algolia 应用程序 ID。 Since I have decided to not have a searching functionality in my application, I would like to remove algolia from my app.由于我决定在我的应用程序中没有搜索功能,我想从我的应用程序中删除 algolia。 I am unsure of how to do this, any help would be much appreciated.我不确定如何做到这一点,任何帮助将不胜感激。

You have two way to do that你有两种方法可以做到这一点

first way run the command第一种方式运行命令

composer remove algolia/scout-extended

Second way remove it from your composer.json file第二种方法将它从你的composer.json文件中删除

then run the command然后运行命令

composer update

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM