Considering all the recent changes, Lumen is not a smart option anymore. Maybe consider switching to Laravel.
Jul 4, 2021
5
Level 5
How to make lumen routes support group routes with resource?
If lumen 8 has possibility to create group routes with resource support, like
$router->put('items/{id}/unpublish', 'ItemController@unpublish');
$router->group(['prefix' => 'items'], function ($router) {
$router->resource('/{item_id}/item_categories', ItemCategoryController::class);
...
}); // Route::group(['prefix' => 'items'], function ($router) {
Maybe with some lumen extensions?
Thanks!
Please or to participate in this conversation.