| 34% |
| 0.95% |
| Rank | #1 | #4 |
|---|
| Median DR | 26 | 39 |
|---|
| Average DR | 28 | 41 |
|---|
| Median keywords | 891 | 1,111 |
|---|
| Median referring domains | 329 | 574 |
|---|
| Median domain age | 13 yrs | 15 yrs |
|---|
| Average domain age | 14 yrs | 16 yrs |
|---|
| Average monthly traffic | 122,074 | 205,911 |
|---|
| Combined monthly traffic | 47,654,894,148 | 1,224,345,997 |
|---|
Monthly snapshots of each segment, 2026-06 to 2026-07. Website counts move when our catalog grows; the share of tracked sites is normalized, so it only moves when real prevalence changes.
Websites
Share of tracked sites
Combined monthly traffic
390,378 websites · rank #1
Top industries
Top markets
5,946 websites · rank #4
Top industries
Top markets
PHP is used by more websites in our catalog: 390,378 use PHP and 5,946 use Ruby.
Ruby sites have the higher median Ahrefs Domain Rating (PHP: 26, Ruby: 39).
Between 2026-06 and 2026-07, PHP went from 49% to 44% of all tracked sites, while Ruby went from 0.81% to 0.68%. Ruby is gaining ground faster in our index.
655 websites in our catalog use both PHP and Ruby.
Adoption is counted from Site Stats Database's own crawl; Domain Rating comes from Ahrefs and traffic from DataForSEO. Figures reflect the sites we track and refresh at least monthly.
Citation
Site Stats Database. "PHP vs Ruby." Site Stats Database, July 1, 2026. https://sitestatsdb.com/technologies/programming-languages/compare/php-vs-ruby
Site Stats Database tracks 390,378 websites using PHP and 5,946 using Ruby, each enriched with full monthly traffic history, authority, keywords, referring domains, and the complete detected tech stack. We detect every server-side language by crawling each site's HTML, response headers, and DNS; traffic and SEO metrics come from DataForSEO and Ahrefs. Everything refreshes at least monthly.
See plans & pricing| English |
| 100 |
| 130,296,472 |
| 37,387,092 |
| 29 yrs |
| 3,317,277,661 |
| PHP |
| instagram.com | English | 100 | 103,652,284 | 25,257,813 | 22 yrs | 2,566,799,220 | PHP |
| merriam-webster.com | English | 91 | 4,579,269 | 240,838 | 27 yrs | 1,467,281,883 | PHP |
| dictionary.com | English | 90 | 3,387,790 | 129,246 | 31 yrs | 242,622,664 | PHP |
| weather.gov | English | 91 | 1,098,961 | 132,221 | 27 yrs | 221,232,646 | PHP |
| unitconverters.net | English | 74 | 462,113 | 5,885 | 18 yrs | 216,506,436 | PHP |
| wiktionary.org | English | 91 | 3,062,929 | 213,267 | 23 yrs | 104,118,446 | PHP |
| harvard.edu | English | 93 | 3,845,102 | 714,396 | 41 yrs | 104,117,233 | PHP |
| calculator.net | English | 84 | 640,891 | 24,315 | 27 yrs | 101,280,794 | PHP |
| English |
| 92 |
| 7,081,914 |
| 428,092 |
| 28 yrs |
| 152,067,414 |
| Ruby |
| istockphoto.com | English | 91 | 4,131,936 | 1,685,041 | 26 yrs | 127,970,606 | Ruby |
| goodreads.com | English | 92 | 3,194,852 | 599,823 | 23 yrs | 93,161,954 | Ruby |
| medscape.com | English | 90 | 1,174,743 | 109,631 | 27 yrs | 19,356,993 | Ruby |
| rtings.com | English | 78 | 381,939 | 32,717 | 14 yrs | 16,301,337 | Ruby |
| ricksteves.com | English | 76 | 595,283 | 22,643 | 30 yrs | 13,014,168 | Ruby |
| deepai.org | English | 79 | 50,393 | 21,393 | 9 yrs | 12,276,296 | Ruby |
| kenhub.com | English | 74 | 325,196 | 39,758 | 15 yrs | 11,201,649 | Ruby |
| radiopaedia.org | English | 78 | 429,268 | 25,391 | 19 yrs | 9,949,747 | Ruby |