PHP vs Ruby
- 535,817
- 9,667
Loading comparison
Loading comparison
PHP is the more common of the two in our index: it runs on 535,817 websites against 9,667 for Ruby, and 1,522 sites use both. Counts come from real scans of each site's home page, not vendor claims, and cover the sites in TechLookup.app's index rather than the whole web.
PHP is a general-purpose scripting language used for web development.
Ruby is an open-source object-oriented programming language.
Among sites in the Tranco top 10,000, PHP appears on 2,290 and Ruby on 87; across the top million it is 327,815 against 5,994. Within the programming languages sites we have indexed, PHP holds 83% and Ruby 1.5%.
PHP: 535,817 sites, on 83% of Programming languages sites
Indexed sites in the countries where the two are most used. A site's country is read from its domain ending, or from its own server for .com and other generic endings. Sites behind a shared CDN or cloud on a generic ending have no country and are not counted here.
| Country | PHP | Ruby |
|---|---|---|
| United States | 36,365 | 524 |
| Germany | 32,659 | 351 |
| Russia | 24,794 | 265 |
| France | 17,238 | 182 |
| Netherlands | 12,564 | 119 |
| United Kingdom | 12,025 | 187 |
1,522 sites run both PHP and Ruby. That is 16% of the sites using Ruby, the smaller of the two.
Want to know which one a particular site uses? Look it up and see its whole stack, or compare two sites side by side.
| Japan | 10,996 | 338 |
|---|
| Poland | 8,138 | 65 |
|---|
Export up to 500,000 PHP sites a month as CSV on the Business plan, $99 a month. Export on Business → or download a free 5-row sample CSV.
Export all 9,667 Ruby sites as CSV on the Pro plan, $49 a month. Export on Pro → or download a free 5-row sample CSV.