# Router

Router can be used to parse URLs into arrays containing indexes for
the controller, action, and any parameters, and the opposite: to
convert URL arrays (eg. `['controller' => 'posts', 'action' => 'index']`) to string URLs.

Read more about ways to [configure the Router](https://pieceofcake2.github.io/docs/development/routing.md#routes-configuration) and
the `Router` class.
