I'm building a little Lumen application, but I'm unable to figure out the equivalent of Laravel's Route::resource
and Route::controller
function for Lumen.
Lumen is a microframework, engineered for performance rather than extensive functionality. It doesn't use the full Laravel router, so there are no Route::resource
or Route::controller
functions.
You can manually define similar routes, if you like.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With