From ba07aa7b98fc4f5e2884091dc546c5af9b9f52fa Mon Sep 17 00:00:00 2001 From: Lain Iwakura Date: Sun, 29 Mar 2026 04:10:48 +0300 Subject: ok maybe --- blog/fuckingphp.md | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 blog/fuckingphp.md (limited to 'blog') diff --git a/blog/fuckingphp.md b/blog/fuckingphp.md new file mode 100644 index 0000000..2e84bb4 --- /dev/null +++ b/blog/fuckingphp.md @@ -0,0 +1,74 @@ +--- +id: afHxz86ZPIM +title: own php what the fuck +description: i fucking hate this language +author: lain +visibility: public +created: 2026-03-29T00:52:21+00:00 +--- + +# own php what the fuck + +> ive been through a lot of tools... ive been a react, a nextjs, a lume.land... +> +> ive tried frameworks, tooling, abstractions - all the usual stuff + +at some point, you stop asking: + +> whats the best tool?? + +and start asking: + +> why the fuck am i using any of this at all? + +# soo.... + +so i built my own php runtime.... + +not to compete with php. not to replace it. just to run _my stuff_, the way +**i** want. + +- no fucking composer (mostly useless for me) +- no vendor shit (lol own /lib/) +- no fighting with shitty the zend engine + +just: + +- parse +- evaluate +- serve + +and that’s it. + +dis project is not about “being correct”. its about being fucking enough. + +--- + +nerdphp exists because i was tired of everything being heavier than necessary. +oh and yeah - its incomplete, limited, probably wrong in a lot of ways... + +but it runs my site. "at least it works..." + +and this was honestly easier than kerberos configuration. + +[kroot.sh](https://kroot.sh) is currently powered by nerdphp + +--- + +```toml +[server] +host = "0.0.0.0" +port = 8080 + +[php] +root = "./src" +# some kind of main.php +index = "index.php" + +[static] +dir = "site" +``` + +TODO: more context + +# :3 -- cgit v1.3