summaryrefslogtreecommitdiff
path: root/blog
diff options
context:
space:
mode:
authorLain Iwakura <lain@iwakura.page>2026-03-29 04:10:48 +0300
committerLain Iwakura <lain@iwakura.page>2026-03-29 04:10:48 +0300
commitba07aa7b98fc4f5e2884091dc546c5af9b9f52fa (patch)
tree66f5ec43432ff4973b439e30abd0054dfc8dca96 /blog
parentcd2f01fb10cabccb1076352ec408f66615dcdd80 (diff)
ok maybe
Diffstat (limited to 'blog')
-rw-r--r--blog/fuckingphp.md74
1 files changed, 74 insertions, 0 deletions
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