/Mini-Framework

A Mini-Framework implemented and dockerized using docker .

Primary LanguagePHP

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 ) .