Laravel vs Ruby on Rails
Laravel: PHP teams building full-featured web applications.; Ruby on Rails: Small teams shipping complete web products quickly.
| Field | Laravel | Ruby on Rails |
|---|---|---|
| Pricing | Open source | Open source |
| Open source | Yes | Yes |
| Self-hostable | Yes | Yes |
| Ecosystem | PHP | Ruby |
| License | MIT | MIT |
| Category | Web frameworks | Web frameworks |
Choose Ruby on Rails over Laravel when
Choose it for a Ruby framework with a feature release every six months and one year of bug fixes per minor series. MIT licensed.
Ruby on Rails (Ruby, MIT): a feature release every six months, with one year of bug fixes per minor series (maintenance policy).
SourceChecked 25 November 2026
Choose Laravel over Ruby on Rails when
Choose it when your team writes PHP and wants one framework for the whole application. Each Laravel release gets bug fixes for 18 months and security fixes for 2 years.
Laravel 13 shipped on 2026-03-17 and requires PHP 8.3 to 8.5. It receives bug fixes until Q3 2027 and security fixes until 2028-03-17 (support policy). The policy gives every Laravel release 18 months of bug fixes and 2 years of security fixes (support policy). Laravel ships a major version each year, around Q1, and minor and patch releases as often as every week (versioning). The official starter kits offer React, Svelte, Vue or Livewire front ends and use Laravel Fortify for authentication (starter kits). The framework is MIT licensed (LICENSE).
SourceChecked 25 November 2026
Laravel
A PHP framework with an expressive ORM, queues, auth scaffolding and a large first-party ecosystem.
Choose Laravel if
PHP teams building full-featured web applications.
Why it’s here
Laravel covers most of what a web product needs in one framework: the Eloquent ORM, queues, mail, authentication, testing and scheduling. The free first-party packages fill in the rest: Cashier for Stripe or Paddle billing, Scout for search, Sanctum for API tokens, Reverb for WebSockets and Horizon for queue monitoring, all MIT licensed.
Pick it when
- Your team writes PHP and wants one framework with conventions for the whole application, not a set of components to assemble.
- You want a full-stack starting point. The official starter kits pair Laravel with React, Vue or Svelte through Inertia, or with Livewire, and use Laravel Fortify for authentication (starter kits).
- You want search without another service: Scout's built-in database engine uses MySQL or PostgreSQL full-text indexes (Scout).
Skip it when
- Your servers cannot run PHP 8.3 or later, the minimum for Laravel 13.
- You need more than 2 years of security fixes per version. Symfony's long-term-support releases last longer (Symfony releases).
Current state
Laravel 13 shipped on 2026-03-17 and requires PHP 8.3 to 8.5. It receives bug fixes until Q3 2027 and security fixes until 2028-03-17; Laravel 12 stopped receiving bug fixes on 2026-08-13 and receives security fixes until 2027-02-24 (support policy). A major version ships each year around Q1, and minor and patch releases can come weekly; the latest is v13.43.0, published 2026-11-17 (releases). The framework is MIT licensed.
Setup
With PHP and Composer installed:
composer global require laravel/installer
laravel new example-app
On a fresh machine, php.new installs PHP 8.5, Composer and the installer in one command (installation).
Paid first-party products. From the official pricing pages, read 2026-11-17:
- Laravel Cloud (managed hosting): Starter from $5 a month including $5 of usage credit, Growth $20 a month plus usage, Business $200 a month plus usage (pricing).
- Forge (provisions and manages your own servers): Hobby $12, Growth $19, Business $39 a month; Hobby allows one external server (pricing).
- Nightwatch (monitoring): free with 300,000 events, Pro $20 a month; free projects pause after 30 days without app activity (pricing).
- Vapor (serverless on your AWS account): $39 a month or $399 a year, plus your AWS bill (Vapor).
- Nova (admin panel): $99 one-time for a single licence; each further year of updates costs $79 (Nova).
Watch out for
Horizon requires Redis and does not work with Redis Cluster (Horizon). Named arguments are outside Laravel's backwards-compatibility promise, so code that calls framework methods with named arguments can break without a major version change. Laravel Herd, the native local environment in the install docs, runs only on macOS and Windows, and its Pro tier is paid.
Ruby on Rails
A full-stack Ruby framework built around convention over configuration, with an ORM, background jobs and Hotwire for interactivity.
Choose Ruby on Rails if
Small teams shipping complete web products quickly.
Why it’s here
Rails is a full-stack Ruby framework. It covers rendering HTML templates, database access through Active Record, email, live pages over WebSockets, background jobs and file uploads (rubyonrails.org). Rails 8 added database-backed Solid Queue, Solid Cache and Solid Cable: Solid Queue replaces Redis and a separate job runner, Solid Cache replaces Redis or Memcached for fragment caches, and Solid Cable replaces Redis for WebSocket pub/sub (8.0 release notes).
Pick it when
- You want one set of conventions for the whole application. The guides call Rails opinionated software that assumes there is a best way to do things (getting started).
- You deploy to your own Linux servers. Rails 8 comes preconfigured with Kamal 2, which turns a fresh Linux box into an application server with
kamal setup, and its Dockerfile puts Thruster in front of Puma (8.0 release notes). Rails 8.1 adds registry-free Kamal deployments (8.1 release notes). - You want jobs, cache and WebSockets without Redis. Solid Queue uses the
FOR UPDATE SKIP LOCKEDmechanism of PostgreSQL and MySQL 8.0 or later, and also works with SQLite (8.0 release notes). - You need a starting point for sign-in. The authentication generator creates a session-based, password-resettable, metadata-tracking system (8.0 release notes).
Skip it when
- Nobody on the team writes Ruby. Rails 8.1 requires Ruby 3.2 or newer (RubyGems).
- You need a long support window per version. Rails gives one year of bug fixes and two years of security fixes per minor series (maintenance policy).
- You develop on Windows and want a native setup. The install guide says the Windows Subsystem for Linux gives the best experience (install guide).
Current state
The latest release is Rails 8.1.4.1, published 2026-11-04; 8.1.0 shipped on 2025-10-22 (RubyGems versions). RubyGems lists no 8.2 or 9.0 release or pre-release as of 2026-11-25. The maintenance policy lists 8.1.x with bug fixes until 2026-10-10 and security fixes until 2027-10-10, and 8.0.x with security fixes until 2026-11-07 (maintenance policy). The licence is MIT (RubyGems). Rails 8.1 added Active Job Continuations, structured event reporting, local CI and Markdown rendering (8.1 release notes).
Setup
Rails needs Ruby 3.2 or newer, and the install guide installs Ruby with mise (install guide):
mise use -g ruby@3
gem install rails
rails new store
The default database is SQLite (getting started).
Watch out for
The 8.1.4.1 release notes list 21 GHSA advisory IDs (release). Two of its changes can affect a running system. strip_tags now encodes " and ', so output used outside HTML, such as a text template or JSON, contains " and '. And ActiveSupport::MessagePack now serializes an unsafe SafeBuffer with a marker that earlier Rails versions cannot read, which matters while old and new releases run side by side (release). Upgrade one minor at a time: the 8.1 notes tell you to reach 8.0 first and confirm the application still runs (8.1 release notes).