Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

296
Views
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?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

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.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!