This site is built with Viewi itself.
It is experimental and still in development.
If you see any bugs please do not hesitate and
open an issue
or DM me on
Twitter.
Frameworks Integrations
Basics
To use Viewi with other frameworks you need to do these steps:
-
Create an adapter based on Viewi\Routing\RouteAdapterBase
and set up it into the app's lifecycle.
-
Implement register($method, $url, $component, $defaults).
-
Implement handle($method, $url, $params = null).
-
Include Viewi routes for your component during the lifecycle.
Integration examples:
Other frameworks
I will add more integrations in the future. Stay tuned and follow Viewi on Twitter.