Rails is gone, aside from a few use cases there is always a better alternative.
What are those use-cases and what are the alternatives?
My fav is Action Mailer in rails. AFAIK no other framework has something similar included.
https://laravel.com/docs/9.x/mail would be the Laravel equivalent.
eCommerce.
I think one of the greatest legacy of PHP was brining "Serverless" hosting to the masses, where you only focus on the "upload" of the code, and you didn't need an ISS or Linux expert to deploy your projects.
Yeah, PHP had a weird teenage phase, but even JS and Python still have a lot of weird things too (specially JS). But modern frameworks as Laravel, make PHP a great alternative for DJango/FastAPI, Rails or Nest.js.