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
- Host: GitHub
- URL: https://github.com/justcabbage/router
- Owner: JustCabbage
- Created: 2024-04-12T19:46:48.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T19:47:06.000Z (about 2 years ago)
- Last Synced: 2025-03-13T03:15:35.841Z (over 1 year ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Router [](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