Choosing a framework is not an easy task: How good is the documentation? How many developers are actively working on it and how long has it been around?
Interesting and valid questions but not necessarily the most important ones. How much of a framework do we actually need? And how crucial will it be for our application? In this session, we’ll try to answer these two questions in a potentially surprising way: by implementing our own micro framework from scratch – in 45 minutes!
This repository contains the sample code created during session. It is not feature complete or tested.
Note: It requires PHP 7.4 to run.
The code shown is not ready for production in any kind. Feel free to play with it for learning, hacking or dissecting as you like.
Copyright (C) 2020 thePHP.cc
php -S 127.0.0.1:8080 server.php
curl http://127.0.0.1:8080/
Should output Hello world