JellyBool

17773 经验值

这个 crontab 应该是 mac os 没有自带的吧,你用 homestead (linux)就有啦

没有绝对的安全与不安全。相比这个,做好其他的安全措施来得重要的多

你指定一下版本应该就好了:

composer require laravelcollective/html 5.2.*

在 Providers 目录下的 AppServiceProvider.php 添加:

use Illuminate\Support\Facades\Schema; // 记得 use 这个

public function boot()
{
    Schema::defaultStringLength(191);
}

后端直接 return $messages;

laravel 5.2 之后,使用这个 laravelcollective/html 了。

不提倡使用 root 用户执行 composer 命令,你点开那个连接看看原因就好