ZH version is available. Content is displayed in original English for accuracy.
I needed to make a tiny webapp backend to upload to shared LAMP hosting (they still exist, and I think they're fun despite us being well beyond 2005), but I couldn't face waiting for FTP to sync down however thousands files Laravel or similar frameworks need.
So I made a tiny PHP framework that gets packaged into a single file.
I'm using it for my own shady purposes, but I decided to put it on GitHub in case anyone else finds the approach useful.
It has typed request/response handling, filesystem-based routing, object serialization, database models/schema generation, and a little schema alignment tool. It has no Composer dependencies.
It's very much a tiny thing, but if anyone wants to try it and tell me where it breaks, I'd appreciate it :)

Discussion (1 Comments)Read Original on HackerNews