Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

291
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda