I am pushing 40 this year. I've been a PHP dev for the past few years - it is neither challenging nor interesting. For a bunch of reasons, changing jobs isn't that easy at the moment.
I am worn out, tired and depressed. While I still love learning and still love coding, I am not good enough to compete with younger, hipper crowd and I am not FAANG material.
I'd be happy if I can make 4-5k USD after taxes, if I can work less than 30 hours a week, on my own schedule and stress free.
Given this background, any advice on what avenues to pursue? What to learn?
I am a decent writer, very good product designer, average coder - if this helps in you giving me recommendations
Don’t try to compete in the young developers world of startups or sexy Silicon Valley tech companies. Almost every company depends on software and web sites, and a lot of them can’t even get resumes for their job postings, much less a qualified person who might hang around long enough to learn the business and add value.
Rates for this kind of work vary, I charge $100 - $200/hr depending on the kind of work, giving a break to non-profits.
To work on legacy systems you need the skills to jump into a system; find, diagnose, and fix problems; enhance a legacy codebase when rewriting is off the table (because of budget, risk, training/conversion hassle). Most of what I do is PHP + MySQL, but I used to work mainly with C++ and Java.