我可以在 Laravel 8 应用程序中使用 LaravelCollective/html 吗?

Pet*_*ovo 6 php laravel laravelcollective laravel-8

我在 Laravel 5 Blade/Bootstrap 应用程序中使用了laravelcollective/html包,现在我发现不支持 Laravel 8。你能建议一些与 Laravel 8 或这个库兼容的类似的东西吗?

Kar*_*ill 7

是的,您可以在 Laravel 8 中使用此包。只需像通常使用 Composer 一样添加该包即可。

composer require laravelcollective/html
Run Code Online (Sandbox Code Playgroud)

在本例中,只需确保在composer.json 中使用的是版本6.2。这是Laravel 8 支持的确认。