/Router

Simple Router Implementation In PHP 8 Inspired by The MVC Pattern

Primary LanguagePHP

Router MIT license

What is this

This is an implementation of a Router in PHP 8, primarily inspired by the MVC pattern. This is by no means finished and probably couldn't be used in a larger scale application. However it is a nice PoC of how you can start building a Router.

Usage

This project requires Docker to be deployed. To do so, run docker-compose up and a container with NGINX and PHP 8 will be deployed on the port 8000.

Credits

  • Program With Gio - Allowed me to get a good base understanding of PHP 8 and how it should be used in an OOP context