Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

swapna's avatar

How to call a controller from form action="".and my controller name is curdcontrollel.php.is we want change rotues also Route::resource('/','curdcontroller');.

Home User name
0 likes
4 replies
rin4ik's avatar

php artisan route:list will give you all possible route actions.

jlrdw's avatar

Have you viewed some free introductory videos or taken tutorial.

Cronix's avatar

Route::resource('/','curdcontroller');

I don't believe you can set up a resource route on the / root of the site. Maybe it works, but I've never seen it.

ya by using taht i cant get

When you do php artisan route:list, what does it output?

Please or to participate in this conversation.