Laravel like routes

I have just make an extension that lets developers to use a system of routing very simmilar to the laravel routing system with yii2. It also includes filter management for routes (instead the yii2 filtering that works via controller - action), optional uris, route grouping, etc…

You can see the github repository here: http://github.com/Patroklo/yii2-static-laravel-routes (english and spanish documentation).

And the composer: http://packagist.org/packages/cyneek/yii2-routes

I’ll appreciate any constructive review and oppinion.

Thanks!

Good job!

Route grouping, middleware and route names are damn awesome!

They are, indeed (except maybe named routes which is a seriously flawed concept, imho, but it’s a subject of debate). But route grouping and route names are already supported by Yii2 and middlewares can be easily implemented as application level filters.