alejandropena / tight
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
Requires
- php: >=5.4.0
- smarty/smarty: ^3.1
Requires (Dev)
- phpunit/phpunit: ^4.0
This package is not auto-updated.
Last update: 2025-10-12 02:31:41 UTC
README
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: