Skip to content

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

Notifications You must be signed in to change notification settings

creoLIFE/FatFree-Helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages