[news] Yii File Router 1.0.0


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 /userUserController::index()
  • POST /userUserController::create()
  • GET /user/blog/viewUser/BlogController::view()
  • GET /user/profileUser/Profile/IndexController::index()

As usual, the package has 100% unit test coverage, 100% MSI score and a good type coverage.