Me, I rationally agree with those replies but my insticts tell me that it is because in an enterprise setting managers don't want what works best, they want what can cover their ass best.
Java and .net do that.
If you as a manager use laravel and save the company tens of thousands, nobody gives a crap. If you use laravel and things go wrong, even if things would have gone even worse with java and .net they are gonna set your butt on fire and throw you out of a window.
Laravel is for entrepreneurs, java and .net for managers.
Just my opinion of course
You'll see people promoting Laravel as faster and cheaper than say C#. For places that value faster and cheaper that's good.
Enterprise isn't cash constrained. Cheaper is not a goal. (Saving "thousands " isn't helpful when the bottom lines are in millions or billions.)
Enterprise isn't time constrained. (Sure they always make like it is, but in reality if this thing doesn't ship tomorrow it's no biggie.
Enterprise is all about risk management. You don't get fired for "buying IBM". Enterprise wants a steady pool of developers. They want to call the local (or more likely foreign) body shop and add 10 people.
Faster in what way? Cheaper in what way?
The only time I see PHP at a large company is marketing groups setting up WordPress sites, on managed hosting, and they aren't writing PHP.
You will find plenty of Laravel/PHP and similar tooling in small and medium-sized businesses.
I’ve not seen Java for a bit but it is around for large stacks because that’s what those vendors would use or for strongly typed use cases
I think python is also more prevalent for all the reasons including data science so seeing a php stack be less common.
Source: I’m talking years of government and private sector work in South Africa and New Zealand
Every tool/framework has it's place and Java is the best choice for that particular team and lots of enterprises.
You should check out the Laravel ecosystem you'd be very surprised how nice it it is to develop with and all the tools and packages that are polished and ready for production.
Laravel Framework Forge (Server Builds/Management) Envoyer (Zero Downtime Deploys) Vapor (Serverless) A Package for almost everything Auth, 2FA out of the box Reverb (websockets) Scout (full text search) Cashier(subs + payments) Dusk (automated browser testing) Herd (Local dev in a box) Horizon (Redis monitoring) Pennant (feature flags) Pint (code style fixer) Pulse (monitoring/performance dashboard) Prompts(beautiful command line apps) Sanctum (API & mobile app auth) Socialite(social auth) Telescope(debug tool) Spark (SaaS in a box) Ray (Debug tool) Debugbar (Debug tool)
I built a funded startup on Laravel we had two developers and one was the CTO so he had limited dev time. We chose the TALL stack (Tailwind UI, Alpine js, Laravel and Livewire). There is no way we could have built it it out fast enough using Java or .net. We passed extensive security audits as it was a platform used by stategovernments, were SOC-2 compliant and built to scale to 500k+ users per state.
A Laravel developer is easily 10x more productive building an MVP and launching it to production than any other framework.
Everything you need in Laravel is fast, easy and pro.
I'm currently leading a team building SPA with react, it's easily 10x more complex and feels even less responsive than the TALL Stack application.
Sure enterprise is more comfortable with java, .net and react but it's always been that way. How many enterprises were building on Rails?
Every tool/framework as a purpose, move outside your comfort zone you might be surprised what's out there.
With Laravel I can go from 0 to new web app in production in 15 Minutes
I can register a new domain, point name servers to CloudFlare.
Setup my local env with Herd from scratch, build a server with Forge, point A record to server IP. Setup SSL cert with Forge/Let's Encrypt.
Start a new laravel project, use jetstream to setup an app with users, auth, 2FA and a dashboard. Create a new GitHub Repo, deploy my code to the new server through Forge.
Create a new user through the UI, Login with 2FA, view Dashboard.
Give me 30 minutes and I can setup a Load Balancer, multiple app and worker servers.