Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example index file for v3 of the CodeWave framework.
require_once '../vendor/autoload.php';
$router = new \Phroute\Phroute\RouteCollector();
$router->get('/', function() {
echo 'Hello, world!';
$app = new \Wave\Framework\Application\Wave(function ($router) {
return new \Phroute\Phroute\Dispatcher($router->getData());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.