Snowflake is a php microframework, inspired by a random redditor who also created a php microframework. Snowflake does not use any 3rd party libraries, everything is built from the ground up. Snowflake is heavily influenced by its many counterparts, Lumen, Slim...etc.
Warning:
This "framework" should never be used in production...or anywhere else. This was just a test applicaiton I created. If you want to use real micro frameworks, checkout lumen, slim and silex.
$app = new Snowflake\Snowflake();
$app->get('/home', [], function() {
echo "Hello World";
});
$app->post('/home', ['controller' => 'HomeController@index']);
$app->get('/home', ['header' => 'Application/json'], function() {
return "Hello World";
});
$app->setRouter(new Snowflake\Routing\Router($app->getRegisteredRoutes()));
$app->start();