Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bitsense's avatar

Laravel Nova with route parameters

Hi, i'm developing a dashboard in Nova 4 to access a long list of identical tables using just a model and a resource for every table type. At the moment i've developed a prototype using sessions to set the correct tables in my models, but i'd like to use route parameters instead of sessions. To be clear, i'd need that nova path respond to someting similar to this (wich is not working)

'path' => '/nova/{service?}/{period?}'

so at

/nova/service_1/period_1/resources/Reading

respond the Reading resource with get parameters service_1 and period_1. is there any way to achieve this?

Thanks! Luca

0 likes
0 replies

Please or to participate in this conversation.