The links provided to you are good to understand how to implement restful urls in Laravel
but you don't know what is restful.
The method naming chosen by Laravel
it's a convention used to represent what each method does. It's called CRUD.
Now which method is been called depends on the HTTP Request Method.
GET /resource index resource.index
GET /resource/create create resource.create
POST /resource store resource.store
GET /resource/{resource} show resource.show
GET /resource/{resource}/edit edit resource.edit
PUT/PATCH /resource/{resource} update resource.update
DELETE /resource/{resource} destroy resource.destroy
To avoid redundant code when we have a CRUD
we use resource controller.
You have to add the below route to your routes.php and the controller you have already provide.
Route::resource('profile', 'ProfilesController');
It's the same as writing
Route::get('profile', 'ProfilesController@index'));
Route::get('profile/create', 'ProfilesController@create'));
Route::post('profile', 'ProfilesController@store'));
Route::get('profile/{id}', 'ProfilesController@show'));
Route::get('profile/{id}/edit', 'ProfilesController@edit'));
Route::put('profile/{id}', 'ProfilesController@update'));
Route::patch('profile/{id}', 'ProfilesController@update'));
Route::delete('profile/{id}', 'ProfilesController@destroy'));
If you want to generate those lines. You can use Jeffreys Way generators.
See Teach a Dog to REST to understand what I'm talking about.