diff options
Diffstat (limited to 'blog/fuckingphp.md')
| -rw-r--r-- | blog/fuckingphp.md | 74 |
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 |
