When you use resource controller command laravel automatically create basic function like store, update, delete functions in your controller. Also when you writing routes for those functions become easy. For example, you can write Route::resource('post',PostController) in your route file and if you make GET request it uses controller index function similarly post method execute store function, patch method execute update function and delete method execute delete function. Mostly these resource controllers are useful when you creating API for your application.
[RuntimeException] The "--resource" option does not exist.
I think my laravel version is still 5.1 since the program that I add features is old. It will takes sometimes if I want to upgrade. At least wait until I am good with laravel if not I might create big problem that I do not know how to fix later if I upgrade it. 5.1 --> 5.5 is a BIG difference RIGHT?
Yes that's right upgrade it. And upgrading version is not a big deal at all just go to their documentation website and see what are the functions they depreciated and replaced. Just change those functions and upgrade. And additionally, if you are using any libraries which don't support latest version upgrade it too.
I don't think I am ready for upgrade since there are more than 1 developer that help adding feature. Me and the other one out source and it cost the owner money.
I also only can spot one difference regarding the version. Like the route is still using Route::controller which only exist in version 5.1
I also do not know what to replace that with. I also cannot list all the difference between the two version and what are all the things that I need changes.