First stable version of Yii File Router was released. The package provides a convention-based router middleware that chooses controller based on its namespace and class name similar to how it was in worked in Yii2. It could be used either standalone or as a fallback for explicit router.
src
Controller
User
Profile
IndexController.php
BlogController.php
UserController.php
IndexController.php
Here's how it works:
GET /→IndexController::index()GET /user→UserController::index()POST /user→UserController::create()GET /user/blog/view→User/BlogController::view()GET /user/profile→User/Profile/IndexController::index()
As usual, the package has 100% unit test coverage, 100% MSI score and a good type coverage.