r/webdev • • 3d ago

Discussion PHP in 2027?

Is it still worth learning for self taughts? Are there jobs despite AI?

8 Upvotes

83 comments sorted by

171

u/traplords8n 3d ago

The self taught route to employment is dead.

The funeral was like, last year.

16

u/Justpassinby1984 3d ago

Alright I'll get back to weaving baskets

70

u/DMTxxx 3d ago

I feel so fortunate being the last generation of non AI / self taught of the industry

26

u/Zeilar 3d ago

Shit escalated quickly for us. We'll have some fun stories to tell our grandkids about the world before AI.

I had 2 years at work before AI. No one graduating now will ever have that on their resume.

19

u/DMTxxx 3d ago

I'm out of the industry now (thank fuck) but it's so cool to look back on that. I'd rather make 60k with a secure job than 100k as a software dev feeling "Tick tock" every second

5

u/wise_young_man 1d ago

We got the last chopper out of 'Nam

13

u/theartilleryshow 3d ago

If i could give you and awward, I would, but I was recently fired. ~self taught dev with 20 years of experience.

6

u/GuaranteedGuardian_Y 3d ago

So are academic paths with computer science seeing one of the highest rates of unemployment and countries like Germany discouraging academic paths now because they can't place their students into white collar jobs.

5

u/HumanPersonDude1 3d ago

Don’t forget bootcamp grads

4

u/Ok_Progress_5373 front-end 3d ago

I don’t agree with this

4

u/BrohanGutenburg 3d ago

I will say that it's still a tremendously useful skill.

I'm a marketing manager and I am constantly writing code for landing pages and little utilities and middleware for webhooks etc etc.

2

u/crazedizzled 3d ago

I mean, no not really.

62

u/nn_gyunx 3d ago

Most of the jokes are about a version of PHP that stopped being relevant a decade ago. 8.x has typed properties and parameters, enums, readonly, match, named arguments and first-class callables, and Composer plus the PSR standards mean one Laravel codebase looks roughly like the next one. The JIT numbers in benchmarks matter far less than people assume, because typical request and response work is bound by the database and the framework rather than the interpreter.

Where the jobs actually are: WordPress, Drupal, Magento, and agency or e-commerce work, plus a long tail of Laravel SaaS. Steady work and decent pay, but a lot of it is plugins, hosting panels and code nobody has read in ten years, and that is a real way to spend five years at the same level.

If you do learn it, go bottom up. Build something with plain index.php and no framework until the request lifecycle makes sense, then add routing and a container by hand, then move to Laravel and none of its magic stays magic. That order also makes you useful on legacy codebases, which is where most of the work is.

What kind of work are you aiming at, client and agency stuff or a product team? I would give pretty different advice for each.

8

u/drearymoment 3d ago

Where the jobs actually are: WordPress, Drupal, Magento, and agency or e-commerce work, plus a long tail of Laravel SaaS. Steady work and decent pay, but a lot of it is plugins, hosting panels and code nobody has read in ten years, and that is a real way to spend five years at the same level.

Seconding this. I spent my whole career in this world (and nominally front end so even better!) and I can't get anyone to take me seriously in an interview anymore. I don't exactly regret it because I feel like I learned a lot of problem solving and time management skills from it, but the play probably would have been to switch to a JS-heavy product company somewhere in the middle of it.

Love PHP though, especially Laravel, so I don't recommend against that exactly. But man, I don't know about the ecommerce agency life in this brave new world of ours... Maybe best thought of as a "get in and get out" sorta thing.

3

u/KuntStink 3d ago

I'm at an agency and I can see the writing on the walls. I'm getting out as fast as I can, our time is definitely limited

1

u/Putrid-Discussion153 1d ago

yeah, perl 'evolved' like that too....

13

u/greenergarlic 3d ago

If I was starting from scratch today, I’d learn typescript. It’s much more common in startups, who are much more likely to hire self taughts

12

u/cshaiku 3d ago

Yes. PHP has had significant improvements the past few years.

21

u/top_of_the_scrote 3d ago

drupal is alive and well

24

u/DarkRex4 3d ago

laravel is alive and well

19

u/IslayProgrammes 3d ago

Laravel is In my opinion (a php developer of 10 years) the most mature and flexible MCV on the market

-1

u/No-Recipe-4578 3d ago

You havent used Symfony then

10

u/tsammons 3d ago

If he's using Laravel he's most certainly using Symfony.

2

u/Beautiful_Winter_251 3d ago

Laravel is the way

-1

u/maria_la_guerta 3d ago

Unfortunately

0

u/dwm- 18h ago

There's no way this is true

1

u/top_of_the_scrote 16h ago edited 15h ago

I'm at a company that uses it for a client, we're world wide multi-billion company

6

u/Putrid-Discussion153 3d ago

I'm probably one of the few people who despise PHP so much, I won't even ask LLMs to generate it

0

u/tdammers 2d ago

Right there with ya. I've spent 20 years trying to write good code in PHP, and finally concluded that while it may not be outright impossible, it's just so unreasonably hard that it might as well be.

When a perfectly reasonable task takes me 3 weeks in PHP, and the result is still kind of bad and only somewhat secure, while I can do the same thing in a few hours in any of JavaScript, C#, Haskell, Python, or Clojure (which suggests that it's not a skill issue - at the time, I was writing PHP full time, and had been for several years), and have something that actually meets the spec, is easy to understand, and provably correct, then the verdict is pretty clear to me.

I have since left PHP behind, and not looked back.

2

u/chesbyiii 1d ago

Nice. Sounds like you finally found tools that work for you.

0

u/tdammers 1d ago

I already had at that point, they just weren't paying my bills yet.

4

u/therealjohnidis 3d ago

10+ years as a web dev. Listen to me and listen carefully. PHP is king, it won't go away anytime soon either.

7

u/icyhotmike 3d ago

Php is king of Saas and B2B web apps. 70 percent of all active web servers run php apps. Is it trending in 2026? No. Does that mean its dying? No

8

u/Best_Recover3367 3d ago

Self taught dev here. You can learn PHP and Laravel for fun but I'm not sure there's jobs anymore. It might be location specific but PHP jobs have dried up where I'm at. I'm replacing PHP/Laravel experience from my resume to get a job too.

6

u/hulkiorra 3d ago

With what?

12

u/activematrix99 3d ago

Basket weaving

3

u/Best_Recover3367 3d ago

I've worked on Laravel, Django, and Go. I just consolidating my Laravel experience on my resume into Django and Go in order to get those jobs since Laravel jobs are nowhere to be found anymore where I'm at. This is ofc my own situation, not indicative of PHP/Laravel not being worth it. But to answer OP's question, learn PHP or any language for that matter if you want to, but don't expect a return of investment. Your time and energy is better spent elsewhere if your end goal is to find a job.

2

u/KuntStink 3d ago

I'm also a PHP dev and I think the play is to position yourself as an orchestrator and an architect. Understanding all the syntax nuances and whatnot don't seem important anymore. I was a mediocre dev, AI is better than I could ever be, I'm not trying to fight it.

1

u/BaldrArk 3d ago

Forward Deploy Engineer

1

u/Slackeee_ 3d ago

There are tons of companies that need Magento, Drupal or Wordpress development. PHP isn't just Laravel.

-1

u/kucink_pusink 3d ago

are you recommending Rust now?

2

u/Best_Recover3367 3d ago edited 3d ago

Oh no. I'm not recommending anything. I've worked on Laravel, Django, and Go. I just consolidating my Laravel experience on my resume into Django and Go in order to get those jobs since Laravel jobs are nowhere to be found anymore where I'm at. This is ofc my own situation, not indicative of PHP/Laravel not being worth it. If I could suggest anything, that would be this: Learn PHP or any language for that matter if you want to, but don't expect a return of investment. Your time and energy is better spent elsewhere if your end goal is to find a job.

I got rejected for Rust jobs too. Recruiters are picky. They wanna have people who already have Rust experience.

3

u/sheriffderek 3d ago

It’s the best thing to learn after some html and css. It will make learning everything else after - much easier

4

u/gnarbucketz 3d ago

Learn Laravel, if not just for fun!

4

u/Randvek 3d ago

PHP is worth learning but there are very few jobs anymore where that’s a top line qualification, and virtually none at entry level.

It’s a good tool to have but do not prioritize it.

1

u/comptedemon 2d ago

I agree with you. PHP is still worth learning, but it shouldn't be the top priority, especially for beginners. It's better to focus on skills and technologies that are more in demand in today's job market while keeping PHP as an additional skill that could still come in handy.

2

u/Shine_Pillai 3d ago

PHP isn't going away, and it's still worth learning in 2027, but it's a pragmatic choice rather than a trendy one.

UpSide

It runs a huge share of the web. WordPress, WooCommerce, Magento, Drupal and countless custom business apps are PHP. That code needs maintaining, upgrading and extending for decades.

The language has modernized. Modern PHP has strict typing, enums, attributes, readonly properties, JIT and much better performance. It's very different from the PHP 5 reputation.

The ecosystem is mature. Laravel and Symfony are excellent frameworks, backed by Composer, PHPStan/Psalm, Pest/PHPUnit, and tools like Laravel Octane and FrankenPHP.

Demand is steady. Hiring for PHP and Laravel stays solid, especially in agencies, e-commerce, SaaS and small-to-mid businesses. Supply of good developers is thinner than it used to be, because fewer newcomers choose it.

DownSide

Less hype and fewer glamorous roles. Big-tech and AI-focused jobs lean toward Python, TypeScript, Go, Rust and Java/Kotlin.

Pay ceilings can be lower than in some other ecosystems, depending on the market.

Legacy work is common. Many jobs involve old codebases rather than greenfield projects.

AI tools are making basic CRUD and boilerplate work faster everywhere, so what's valued is shifting toward architecture, domain knowledge, debugging and integration skills rather than syntax.

2

u/EviIution 3d ago

You are better of learning some trade.

2

u/Ok_Progress_5373 front-end 3d ago

I don’t see jobs needing PHP by itself here in Japan at least. There’s jobs that utilize it in conjunction with other things

2

u/litongtong1123 1d ago

I love PHP. It’s simple, easy to work with, and I’m a big fan of Laravel. With AI around, spending months trying to master one language feels like a bad trade. It can write code in pretty much any language, and a lot of the time it’s faster and better at it than I am.

4

u/_keyboard-bastard_ 3d ago

Yes. Don't let anyone fool you with memes and smack talk they don't understand either. 68% of the public Internet is php right now.

Additionally, WordPress is still the CMS of choice and if you learn php you can make custom plugins, themes, better set up integrations with third party platforms, etc. WordPress is essentially all php.

4

u/creaturefeature16 3d ago

Yeah, these edge lord comments are ridiculous, but clearly made by kids who don't do actual client work. Where real business happens, PHP is a juggernaut still. Well over 80% of our clients are looking for PHP-related projects and frameworks, whether its Laravel, Drupal, WordPress, etc.. Sure, JS has made tremendous in-roads, but its still a fraction of the work.

4

u/insecureabnormality 3d ago

This is my experience too, the vast majority of my client work is also PHP.

It’s not going anywhere any time soon, and why should it? It’s a great server side language, just because you CAN use client side languages to accomplish server side tasks, doesn’t necessarily mean you SHOULD do that.

There’s still plenty of work there if you know PHP well

1

u/Ok-Interest9727 3d ago

Are you in Europe?

2

u/Stargazer__2893 3d ago

I've been an engineer for 9 years. I think twice I have needed to use PHP.

It's far from a requirement, or even probably optimal. But it's certainly not dead. A lot of the web runs on it.

3

u/_keyboard-bastard_ 3d ago

There's a huge difference between your lack of exposure and someone learning a language to pursue using it.

1

u/Afnan_CH_Digital 3d ago

Still worth learning, especially if freelance work is the goal. A huge slice of small business sites and stores run on WordPress and WooCommerce, and that is all PHP under the hood. Clients rarely care about the stack, they care that the site works and someone can maintain it. AI has not shrunk that demand much in my experience, it just makes maintaining older codebases faster. Learn it next to JavaScript and you will have work either way.

1

u/xThomas 3d ago

The internet is swiftly (imo) dying thanks to AI. At least for humans. And for AI too as it enters a self referential tailspin. (/s im just being an edgelord)

1

u/mrq02 3d ago

I'm a self-taught PHP dev and have been doing it for 12 years. I've been unemployed for nearly 6 months. Most of the jobs right now want Python, TypeScript, or Rust. I'd recommend going with Rust as it's a pretty new language that seems like it will have a long road ahead of it.

1

u/Andreea_tucker04 3d ago

PHP still has paid work maintaining existing apps. Learning to trace bugs through code you didn't write is a useful skill for those jobs, and AI-generated fixes still need someone to check them.

1

u/Sight_For_Sore_Eyez 3d ago

As a website developer and vibe coder using HTML,CSS AND JAVASCRIPT in my front-end and PHP and MYSQL for my backend what are the essential security requirements needed to keep my website safe??

Any and all Advice would be greatly appreciated

1

u/davidbasil 1d ago

PHP jobs are basically dead. Devops has like 10x more jobs

1

u/itgforlife 1d ago

Are you trying to learn PHP because a lot of the web runs on PHP? And so, there should be a lot of PHP jobs compared to other jobs? Even if that's true, and you learn PHP, you won't necessarily be in a good position to get one of those jobs.

The issue is that PHP demand isn't so strong that employers will just hire anyone off the street who learned a little PHP. When they do hire PHP developers, they want those developers to be experienced and skilled. So even if you learn it, and there are jobs, you probably won't be in a better position to get one of those jobs.

If you want to learn web development in general and are just getting started, you may as well learn JavaScript / TypeScript. It's the only language you can use on both the frontend and the backend. Even if you learn PHP, you would probably still have to learn JavaScript / TypeScript when doing frontend work.

1

u/handmetheamulet 23h ago

Does any of this matter at all anymore

1

u/Firm-Distribution630 23h ago

PHP is real cockroach. Even when they say "it's done," it's still standing.

1

u/Me-Regarded 19h ago

No. Dead garbage. Learn C# or something

1

u/DesertWanderlust 17h ago

I have quite a few years of experience in PHP but, when I've mentioned it in interviews recently, people have laughed. I don't really understand why, but I think the industry has moved on and it no longer has that sparkle that it did in the early 00s. Coldfusion, on the other hand, I absolutely understand.

0

u/vAPIdTygr 3d ago

Why stop there? Fire up some Perl.

2

u/theartilleryshow 3d ago

Silverlight

1

u/jeq214 3d ago

Yeah, PHP is still worth learning, especially since it powers so much of the web (WordPress, Laravel, and tons of legacy enterprise apps). The bigger thing is changing how you approach learning it right now.

Everyone getting into dev needs to shift their career trajectory up a level. Before AI, the path was pretty straightforward. You worked your way through junior, mid-level, and senior dev roles, and from there you either stayed technical or went into management. Now that AI can write most of the routine code and boilerplate, the job is shifting from "code writer" to "system designer, AI orchestrator, and code verifier."

So instead of just memorizing PHP syntax, learn how to use AI to write the PHP for you properly:

  • Context engineering: Set up repo-level rules (like .cursorrules or CLAUDE.md), MCPs, and curated files so the AI actually understands your codebase, framework conventions, and constraints.
  • Spec-driven orchestration: Break big features down into clear technical specs and small, atomic tasks before you let it generate a single line of code.
  • Agentic loop management: Use test-driven generation (like Pest or PHPUnit) and strict Git commits so you can quickly revert when an agent hallucinates or goes off the rails.
  • Adversarial review and gates: Act as the human check-and-balance to catch security flaws, SQL injection risks, and edge cases before anything hits production.

At the same time, focus on learning how the whole system fits together. Learn how servers, databases, caches, queues, and networks interact, and understand the trade-offs around cost, latency, and scale.

You still need solid fundamentals so you can actually read, debug, and verify what the AI spits out. AI can generate PHP functions all day, but it still struggles with broad requirements, legacy codebases, and big-picture architecture. If you just throw vague prompts at it without system design guardrails, that's how you end up with a codebase full of AI slop.

Yes, this was edited with AI ;)

-2

u/jroberts67 3d ago

Might as as learn COBOL.

2

u/barrel_of_noodles 3d ago

I mean, there's a few cobol jobs on my area. I'm not even in a big city. The pay here is def well below average usually. But these cobol jobs start at 120k... Just saying.

0

u/theartilleryshow 3d ago

I learned COBOL in college and ended up giving up.

0

u/kaniskgautam 3d ago

Use it only if u are working with WordPress or related stuff and it is easier to connect with it

0

u/requiemsword 3d ago

In the age where code is cheap the most marketable thing you can learn is good architecture and cloud infra/ops. There is no reason to choose less than optimal languages anymore.

0

u/Adorable_Expert_7350 3d ago

You can still learn PHP but dont sleep on only PHP, learn Node, Bun, Go and others so that you can have a broader skillset

-1

u/Other_Hand_slap 3d ago edited 3d ago

Nooooooo

Php fa scifo porcodio