omarfawzi / Mini-Framework

A Mini-Framework implemented and dockerized using docker .

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mini-framework

A Mini MVC Framework implemented and built over docker .

Build Image

make build

Start Container

make up

Stop Container

make down

Routes

Routes are built to handle dynamic variables with\without Regex :

  • hello/{id}/guest/{name} : the id and name variable matches any literals .
  • hello/{(\d+)}/guest/{(\w+)} : here the first variable matches only integers while the second variable matches any alphanumerical characters [a-zA-Z0-9]

Note : when using regex in routes you must group variables using ( and ) .

About

A Mini-Framework implemented and dockerized using docker .


Languages

Language:PHP 96.0%Language:Dockerfile 2.5%Language:Makefile 1.6%