For example, I'm publishing books with chapters, topics, articles:
http://domain.com/book/chapter/topic/article
I would have Laravel route with parameters:
Route::get('/{book}/{chapter}/{topic}/{article}', 'controller@func')
Is it possible, in Laravel, to have a single rule which caters for an unknown number of levels in the book structure (similar to this question)? This would mean where there are sub-articles, sub-sub-articles, etc..
What you need are optional routing parameters:
See the docs for more info: http://laravel.com/docs/5.0/routing#route-parameters
UPDATE:
If you want to have unlimited number of parameters after articles, you can do the following: