...) { // Pass the request to the Router $params = $classes['router']::process($request); // Do some checking... // Get a controller... return static::call($controller); } } There are no routes here yet
...) { // Pass the request to the Router $params = $classes['router']::process($request); // Do some checking... // Get a controller... return static::call($controller); } }
...) { // Pass the request to the Router $params = $classes['router']::process($request); // Do some checking... // Get a controller... return static::call($controller); } } Dispatcher::applyFilter('run', function($self, $params, $chain) { // Detect the current environment Environment::set($params['request']); // Load routes include Libraries::get(true, 'path') . "/config/routes.php"; // Continue return $chain->next($self, $params, $chain); });
Comprehensive code QA tool li3_access: Simple (and non-simple) access control li3_oauth: OAuth integration for various services (currently undergoing an overhaul to be even more badass) li3_facebook: Tools for writing Facebook apps