salamander/quick

Maintainers

Package info

github.com/salamander-mh/quick

Issues

pkg:composer/salamander/quick

Statistics

Installs: 12

Dependents: 0

Suggesters: 0

Stars: 3

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

This package is not auto-updated.

Last update: 2026-03-29 13:22:17 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();