2
8 Comments

Should I learn Laravel or Ruby on Rails?

Hi,

I know the title sounds a bit dumb but let me explain. I am not a super experienced developer but I know my way around PHP and this year I have decided to get serious about learning atleast one language at advanced level.

Now by having some basic knowledge of PHP, I can get a head start on Laravel but what do you guys think? Is Ruby On Rails more future-friendly than Laravel? My goal is to learn a language that would allow me to make good web applications.

Thanks in advanced for your help :)

posted to Icon for group Developers
Developers
on December 30, 2019
  1. 2

    I can't tell you what to choose, but I'll tell you my preference.
    I used to code in PHP up until 2013. I launched a startup back then, and decided to dive into ruby on rails for learning a new language. I haven't looked back ever since.
    Any project I started or worked for customers, it was always RoR. I haven't hit performance issues, scalability issues, and the development is pretty fast compared to PHP.
    Bottom line - I would recommend ruby on rails, but it's really up to you and your preferences.

  2. 2

    I think Laravel is inspired by Rails, so the concepts should be pretty similar. Both will enable you to do great applications and both will be here for a long time, so you can't really make a bad decision here. Take a look at both programming languages (PHP and Ruby) and decide whose aesthetics and expressiveness you like more.

    1. -1

      This comment has been voted down. Click to show.

  3. 2

    If you already know PHP, go with Laravel. PHP and Laravel will be there for a long time. If you are looking to learn something from scratch, I would suggest JavaScript and/or Python though. You can make web apps using Express, Flask, Django.

  4. 1

    Build a super simple app in both.
    See how long it takes in each, which one you liked, had the best docs and tutorials for that you could actually follow.
    You will only know by using them.
    Dont worry about the longevity of them.. both have been around for ages and will be for a long time yet.

  5. 1

    I think it's a wash. They're good at the same things and have similar (wonderful) communities. Rails is a bit more unified and Ruby is a bit more productive than PHP, but Laravel has a bit better performance / momentum in the community.

    Either one is a fantastic choice for indiehacking. In fact after learning one well you can easily (and probably should) pick up the other and mess around to see a slightly different way of doing things.

  6. 1

    If you already know PHP to an extent stick with that. There's not really anything that Ruby could do that PHP can't, so you'll be in a good place with PHP knowledge. It's good enough to get software out the door, and there is also a decent market for jobs (at least where I live) so you have a good range of options in the future. While PHP has lost a bit of market share, there's still a large thriving community around it.

    If you really want to expand and start building applications I'd start looking at Javascript + React. Building your UI with Javascript/React and running the API with Laravel is a solid option.

  7. -1

    This comment has been voted down. Click to show.

    1. 1

      Will the Stripe, Github, Coinbase and the thousands of newer startups using Ruby also disappear in a poof of smoke in 5 years?

      Seriously, think this through.

  8. 1

    This comment was deleted 2 years ago.

Trending on Indie Hackers
I spent $0 on marketing and got 1,200 website visitors - Here's my exact playbook User Avatar 58 comments Veo 3.1 vs Sora 2: AI Video Generation in 2025 🎬🤖 User Avatar 29 comments Codenhack Beta — Full Access + Referral User Avatar 21 comments I built eSIMKitStore — helping travelers stay online with instant QR-based eSIMs 🌍 User Avatar 20 comments 🚀 Get Your Brand Featured on FaceSeek User Avatar 18 comments Day 6 - Slow days as a solo founder User Avatar 16 comments