An open API service indexing awesome lists of open source software.

https://github.com/justcabbage/router

Simple Router Implementation In PHP 8 Inspired by The MVC Pattern
https://github.com/justcabbage/router

Last synced: 4 months ago
JSON representation

Simple Router Implementation In PHP 8 Inspired by The MVC Pattern

Awesome Lists containing this project

README

          

# Router [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)

## 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](https://www.docker.com/) 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](https://www.youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-) - Allowed me to get a good base understanding of PHP 8 and how it should be used in an OOP context