Skip to content

A fork from Shoofly by n0nag0n which is a fork of FatFree Framework by Bong Cosca https://fatfreeframework.com

License

Notifications You must be signed in to change notification settings

tohizma/f4-framework

Repository files navigation

F4 Framework

A Fat-Free Framework core library fork with a few extra features.

Usage:

First make sure to add a proper url rewrite configuration to your server, see https://fatfreeframework.com/3.6/routing-engine#DynamicWebSites

Composer:

composer require tohizma/F4
require("vendor/autoload.php");

// Create the app instance
$App = \F4\Base::instance();

// setup a simple route
$App->route('GET /', function() {
	echo 'Hello, world!';
});

// run the dang thing!
$App->run();

For the main repository (demo package), see https://github.com/bcosca/fatfree
For the test bench and unit tests, see https://github.com/f3-factory/fatfree-dev
For the user guide, see https://fatfreeframework.com/user-guide
For the documentation, see https://fatfreeframework.com/api-reference

Development:

If you're going to do development on this codebase, you'll need to check the following commands before you commit:

# Unit tests of course
composer test # or composer phpunit

# Beautify the code
composer beautify # or composer phpcbf

# Check for code style issues
composer style # or composer phpcs

About

A fork from Shoofly by n0nag0n which is a fork of FatFree Framework by Bong Cosca https://fatfreeframework.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages