Simple micro framework written in PHP. Main goal is to learn about frameworks and how they works.
Everyone can send pull request. Check issues if there is something to help with. Pull request must meet the following requirements:
- Use english only (variable, function, class names, etc.)
- Camel-case naming (thisIsMyVariable, bestFunctionEver)
- Class name starts with capital letter
- Constants are all uppercase
- Maximum characters for line is 85
- Indent 4 spaces
- Control structures (if, while, switch, for, etc.) have one space between control keyword and opening parenthesis
- Opening curly bracket is on same line as control keyword
define('THIS_IS_A_CONSTANT', 20);
if ($someVariable && $anotherVariable) {
functionCall();
}
class ClassExample
{
public function helloWorld()
{
echo("Hello World");
}
}