Use RESTful controllers to turn your routes into more structured and clean one-line code. I saw it as a simpler and cleaner way than using 6 to 8 routes like: route::get(''); , route::post(''); ,... for example.

Resource controllers make it effortless to build RESTful controllers around resources. Although some documentation state that Resource controllers and RESTful controllers refer to the same thing.

I eventually changed the RESTful controller method into using different routes for all the shows, edits, updates, destroys.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners