
Python
JavaScript
Java
Ruby
C#
C++
HTML5
A popular general-purpose scripting language that is especially suited to web development

Django
Laravel
ASP.NET
ExpressJS
Flask
Node.js
CodeIgniter
Ruby on Rails is an open source full-stack web application framework for the Ruby programming...

Which is more popular?
Based on our record, Ruby on Rails should be more popular than PHP. It has been mentioned 151 times since March 2021.
Website, pricing, platforms and company facts side by side.
|
|
|
|
|---|---|---|
| Website | php.net | rubyonrails.org |
| Pricing | ||
| Company | — | Startup from the United States |
| Listed in |
In their own words, as submitted to SaaSHub.


We recommend LibHunt PHP for discovery and comparisons of trending PHP projects.
We recommend LibHunt Ruby for discovery and comparisons of trending Ruby projects. Also, to find more open-source ruby alternatives, you can check out libhunt.com/r/rails
What each product offers, as listed by its team.


Possible disadvantages
Possible disadvantages
An editorial look at what each product does well and who it suits.


Overall verdict
Why this product is good
Recommended for
Overall verdict
Why this product is good
Recommended for
Walkthroughs and reviews on video.
Is PHP a SCAM? Watch this VIDEO Before You Join!
More videos
Ruby On Rails Biggest Waste Of Time In 2020 | Ruby on Rails Dead
More videos
How often each product is chosen within a category, 0–100% relative to the other.


Share your experience with using PHP and Ruby on Rails. For example, how are they different and which one is better?
External articles and on-site reviews we used to compare the two products.


PHP is another general purpose-based computing language. This language is mostly found in HTML. It is usually used for the management of content that is based on dynamic information.
As the name suggests, JsPHP is a Javascript library for PHP API to be available in the JS environment. It is open-source and provides a compelling interface for JS developers who work in PHP. JsPHP can work in tandem...
What kind of development projects do you want to work on? If career flexibility is a priority, learning Python or C++ will allow you to work across different types of programming. If your passion is web development,...
Yes, there are other more trending frameworks; however, nothing reaches the productivity of Rails. It's simply unbeatable if you have a small team. For example both SaaSHub and LibHunt were built on Rails.
The best frameworks for web development include React, Angular, Vue.js, Django, Spring, Laravel, Ruby on Rails, Flask and Express.js. Each of these frameworks has its own advantages and distinctive features, so it is...
In terms of documentation, guidelines, and libraries, Ruby on Rails is the superior framework for smaller applications. Since it entered the online scene before Laravel, its community is larger and more well-liked...
Recommendations tracked on public social media and blogs since March 2021.


The PHP website is indeed one of the worst parts of the whole ecosystem. Just look at the landingpage (https://php.net) and compare it with those of other languages. There's not a single piece of PHP code on the page. No "what is PHP",... - Source: Hacker News / 5 months ago
My initial idea was to leverage the main application’s queue worker by deploying a queue worker remotely and setting up a secure connection between them using something like Wireguard. Vigilant is written in PHP using the Laravel... - Source: dev.to / 11 months ago
I remember being 15 (18 years ago 🥲) and learning PHP. Stack Overflow wasn’t as big yet, and finding answers often meant digging through forums filled with half-baked solutions, each dependent on specific hosting configurations. There... - Source: dev.to / over 1 year ago
Phoenix is a framework for Elixir, the same way Rails is a framework for Ruby. Its mission is to be a productive framework that doesn't compromise on speed or maintainability. - Source: dev.to / 5 months ago
Laravel, Rails, and Django remain the most battle-tested full-stack frameworks in 2026. - Source: dev.to / 7 months ago
"Empty barrels always make the most sound" says my co-national Alborosie in Poser, and I thought this would not apply to DHH, the creator of Ruby on Rails, because he is not only noisy about his opinions, he is friggin loud as f***. - Source: dev.to / 9 months ago
When comparing PHP and Ruby on Rails, you can also consider the following products.

Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.
Compare Python to PHP or Ruby on Rails:


Lightweight, interpreted, object-oriented language with first-class functions
Compare JavaScript to PHP or Ruby on Rails:


A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible
Compare Java to PHP or Ruby on Rails:

ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.
Compare ASP.NET to PHP or Ruby on Rails: