Tight Framework: A PHP Framework

Installs: 55

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/alejandropena/tight

v1.2.2 2016-08-30 09:22 UTC

This package is not auto-updated.

Last update: 2025-10-12 02:31:41 UTC


README

Latest Stable Version Total Downloads Build Status Scrutinizer Code Quality License

Tight Framework

A PHP micro-framework

Instalation

Using composer

$ composer require alejandropena/tight

Usage

Router

Include the autoloader generated by composer to start running the app

<?php
require_once 'vendor/autoload.php';
$config = [
    "basePath"=>__DIR__ // Set current directory as base path
];
$app = new Tight\Tight($config);
$router = $app->getRouter();

$router->get("/hello/:who",function($who){
    echo "Hello ".$who;
});
$router->run();

Documentation

For more info you can read: