美文网首页laravel
Laravel中的html和Form

Laravel中的html和Form

作者: 蛋蛋嫁到 | 来源:发表于2017-04-17 16:14 被阅读36次

需要用到的package laravelcollective/html

先到目录下注册

composer  require  "laravelcollective/html"

再在 config\app.php 下的 providers 添加

Collective\Html\HtmlServiceProvider::class,

再到 aliases 添加

'Form'=>Collective\Html\FormFacade::class,

'Html'=>Collective\Html\HtmlFacade::class,

使用方法到文档中查看

相关文章

网友评论

    本文标题:Laravel中的html和Form

    本文链接:https://www.haomeiwen.com/subject/kxbtzttx.html