Skip to content
Ajoy web framework, yet another php web framework just for fun.
PHP
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
ajoy
examples
.gitignore
README.md

README.md

ajoy

Ajoy web framework, yet another php web framework just for fun.

examples

defined('ROOT') or define('ROOT', dirname(__file__) . '/..');

app()->configure(array(
    'app root' => ROOT,
));

app()->locals(array(
    'title' => 'Ajoy web framework',
));

app()->get('/', funciton ($req, $res) {
    $res->render('index', array(
        'official_site' => 'https://github.com/shaunlee/ajoy',
    ));
});

app()->run();

Is it simple enough?

Something went wrong with that request. Please try again.