2017 © Pedro Peláez
 

library quick

image

salamander/quick

  • Thursday, July 19, 2018
  • by salamander
  • Repository
  • 1 Watchers
  • 3 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

install

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();

The Versions