在Laravel7中,如果请求验证失败,是否可以设置重定向路径?示例: public function handleForm(Request $request) if (!.);} 在这种情况下,如果someData没有验证,Laravel会将我重定向到请求最初所在的路径。这不是我想看到的行为。我希望能够定义一个不同的重定向路径。这有可能吗?
每当我运行一个工匠命令时,我就会遇到这个问题。
我正在使用Valet和PHP8.1。我尝试过修改PHP版本,但仍然遇到了这个问题。should be used to temporarily suppress the notice in /Users/jakefeeley/Sites/certhub/marketing/vendor/laravelshould be used to temporarily suppress the notice in /Users