PHP's Unlikely Pivot to Native App Development
Description
A screenshot of an article from the publication 'Indie Hackers'. The headline reads, 'How a PHP developer turned "impossible" into $100K in 3 months 🚀'. Below the title is a stylized portrait of a man with glasses, Simon Hamp, against a pink and orange gradient background. The article text explains that Simon Hamp created NativePHP, a framework that allows developers to build native desktop and mobile applications using PHP. It notes that he has earned $100,000 in the three months since launching the mobile version. The technical humor stems from the long-standing reputation of PHP as a language strictly for web backends, often criticized for its design. The idea of using it for native UI applications is so contrary to industry norms that it's considered 'impossible,' making this success story both surprising and ironically amusing to experienced developers who have witnessed decades of language wars
Comments
52Comment deleted
A developer making $100k with a PHP framework for native apps is the tech equivalent of finding out your grandpa's old ham radio can now stream 4K video. You're not sure how, you're deeply suspicious, but you can't argue with the results
Some of us spent a decade arguing whether PHP even counts as a language - turns out it’s a cross-platform revenue framework if you add a Stripe key and a Product Hunt launch
Turns out the real 'impossible' was convincing developers that PHP could do something other than generate HTML with mysql_real_escape_string() - though I'm sure the $100k helped silence the 'PHP is dead' crowd faster than any benchmark ever could
Finally, a PHP developer who found a way to make desktop apps crash in a language traditionally reserved for crashing web servers. But seriously, building native apps with PHP is like convincing your CTO that MongoDB is a good fit for financial transactions - theoretically possible, surprisingly successful, and it makes everyone question their assumptions about technology constraints. The real achievement here isn't the $100k; it's getting developers to willingly choose PHP for something other than WordPress plugins
NativePHP: Finally letting PHP escape the LAMP stack to segfault natively on your phone
The real trick isn’t PHP on mobile - it’s monetizing the world’s largest “we’re not rewriting this” budget
Turns out the fastest cross‑platform runtime is revenue: while architects debate a Go rewrite, NativePHP bundles a runtime, ships, and hits $100k before procurement schedules kickoff
he deserves 100k if he promises to never touch keyboard again /lh Comment deleted
how a PHP developer turned "impossible" into useless Comment deleted
I once compiled a TypeScript code base with V8 engine into native DLL/SO library. Comment deleted
Another case of really shit idea Comment deleted
top Comment deleted
oy no need to say that over a library you dont like Comment deleted
kiss? Comment deleted
got it thx Comment deleted
wait a second.... Comment deleted
https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTQpx0dmaStfDM1sH9toH0g0hheTQ_pru9q2AlhOZ0_BRBLl5ND8u_uaTNglTH_s1muXNhm Comment deleted
that's actually pretty sick ngl. Just imagine how useful PHP can get Comment deleted
Php is ok, there are more then enough shitty compiled languages, what's wrong with getting PHP too. What's more interesting is the question is it just PHP VM bundled with source code or byte code in one executable or is it really natively compiled in tru native binary to run on "bare metal" Comment deleted
People saying it's bad... My brothers, there's already tons of "native" apps that are just chrome running sanboxed js... Comment deleted
Electron desktop apps are also shit lol Comment deleted
That's my point :) Comment deleted
I made the equivalent of Chef out of PHP before Chef existed and managed thousands of Windows workstations with it. It was… okay. Comment deleted
mobile app for what? Comment deleted
Desktop apps? PhpGTK greets you from the far 2005 Comment deleted
i would accept to make javascript the only programming language in the world if it meant deleting php from history. that's how much I hate it Comment deleted
but why? PHP is a good language. Comment deleted
way better than Java Comment deleted
not even close Comment deleted
to being the worst and most useless language? sure Comment deleted
for being the most used language in the world in the last 30 years Comment deleted
things I can do in PHP with 1 line of code, in Java will require a software architect and a CS degree. Comment deleted
skill issue Comment deleted
no I just don't like bdsm. i worked with Java for 6 years Comment deleted
use python then Comment deleted
I use python. Comment deleted
i use c,cpp the python owner Comment deleted
yes, use C / C++ / Rust instead of Java if you need performance. but actually many libraries on python are so well optimized, that it will take a lot of time to get to that speed using raw C++ directly. I looked into some fuzzy search lib on python, and wanted to actually just steal 1 function from it, to avoid dependency. well. it was in C++ where they detected specific SIMD processor features on initialization and injected ASM code to get the maximum perf. ended up keeping this as a dep. Comment deleted
good talks, noted ✍️ Comment deleted
never ever going back to it. I will better cook burgers and sell beer. or clean the streets Comment deleted
Ah, so trauma from shitty enterprise spaghetti Java Comment deleted
5M lines, half year work of team of 200 engineers to change 1 column name in database Comment deleted
Practical examples? Comment deleted
copy($url, $filename) Comment deleted
Could tell you from the top of my head. This is simpler in PHP because it's made for web tho, no? Comment deleted
it's just download a file. it's a common backend task Comment deleted
in Java you need to open a stream, read it step by step, assemble it together, open file stream, close the streams. and so on. but it's such a common task — that I don't understand, why isn't there just a function for that Comment deleted
Apache Commons IO Comment deleted
the code in PHP will literally be 1 line only with perfect abstraction function — 2 params nothing else Comment deleted
Yeah but then you have to use PHP Comment deleted
yes. and write 1 line of code Comment deleted
although it sucks for big projects Comment deleted