creoLIFE / FatFree-Helpers

FatFree Helpers - to simplify your work with FatFree Framework (F3)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FatFree-Helpers

FatFree Helpers to simplify your work with FatFree Framework ;)

URL Helper

Simple usage of URL Helper:

routes.ini
[routes]
GET|POST @home: / = IndexController->indexAction
GET|POST @articles: /articles/@id = IndexController->indexAction
PHP code to create FatFree URL based on route definition
$f3->config(__DIR__ . '/routes.ini');
$url = new \FatFree\Helpers\Url($f3);
echo $url->get('home');

About

FatFree Helpers - to simplify your work with FatFree Framework (F3)


Languages

Language:PHP 100.0%