Why is my CSRF token empty when using Form::open()?

后端 未结 5 1232
滥情空心
滥情空心 2021-02-15 17:38

I am just starting out so please forgive me. I have a solid grasp on CodeIgniter, so I understand what is going on. However, I am noticing that my CSRF token is empty w

5条回答
  •  北荒
    北荒 (楼主)
    2021-02-15 17:51

    I have solved the issue of HtmlService provider actually 5.2 version removed Illuminate and add collective follow the step to solve the issue:

    1. composer require laravelcollective/html
    2. composer update
    3. add in config/app.php

    'providers' => ['Collective\Html\HtmlServiceProvider'], 'aliases' => [ 'Form' => 'Collective\Html\FormFacade', 'Html' => 'Collective\Html\HtmlFacade', ],

    Then you are able to use that form.

提交回复
热议问题