FatFreeFramework

One of the first minimalist PHP MCV frameworks. Alternatives are Slim Framework and Leaf PHP.

CLI Routing

When writing CLI apps, F3 allows writing in web syntax:

php index.php /my-awesome-route?foo=bar

or in cleaner shell syntax

php index.php my-awesome-route --foo=bar

which will map --foo to $_GET['foo'].

[!info] When using a leading slash in the route, the arguments (--foo) are not being mapped to the $_GET superglobal! php index.php /my-awesome-route --foo=bar

The parsing of CLI routes happens here: