Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

293
Visualizações
Should I use Laravel's collective Form or traditional html form? Which is better?

I'm a novice in Laravel development. I'm learning about Form. But I'm not understanding why i need to learn again about Form for Laravel as i know how to use form in pure html. I'm confused about that should i use laravel's collective form or Pure Html Form? Which is better?

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I find collective to be more useful in two ways.

1) Using Laravel collective gives CSRF protection automatically by including hidden field with a security token as a form element which traditional html form does not and you have do that manually by using {{ csrf_field() }}. Not including is erroneous.

2) When updating the database info, Form::model() to bind the data to form fields and makes it way easier to populate the form fields with the data to be edited like auto checking checkboxes etc. which saves quite a overhead.

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda