salamander/quick

dev-master 2018-07-19 03:08 UTC

This package is not auto-updated.

Last update: 2024-04-14 02:40:14 UTC


README

composer require salamander/quick

quick start

<?php
define("ROOT", __DIR__ . '/..');
define('APP', ROOT . '/app');


require ROOT . '/vendor/autoload.php';

$container = [
	'settings' => [
		'host' => '0.0.0.0',
		'port' => 8888
	]
];
$app = new \Quick\App($container);
$app->get('/', '\App\Controller\IndexController:show');

$app->start();