I have this route but I can not understand most of them and I already read the documentation but I was left with the doubts:
Route::namespace('Admin')
->prefix('admin')
->name('admin.')
->middleware(['auth', 'admin'])
->group(function ()
{
Route::get('lista-productos','productosController@index);
});
Somebody could explain to me in favor of how the namespaesce, name works, I would really appreciate it. The rest as the prefix I understand how it works like middleware but I do not understand how to implement it so that they can be called