- Features
- Pricing
- English
- français
- Deutsch
- Contact us
- Docs
- Login

Heroku is a Platform-as-a-Service (PaaS) that has hosted PHP applications for over a decade. It runs PHP through the official Heroku PHP buildpack, with Composer, Apache or Nginx, and Git-based deploys. Laravel, Symfony, WordPress, and Drupal teams run production workloads on it.
Heroku still does several things well. The buildpack supports recent PHP versions, the deploy model is predictable, and a mature add-on marketplace covers databases, search, monitoring, and scheduling.
The trade-offs are structural. The 30-second router timeout (H12) terminates long CMS exports, Magento reports, and Composer admin tasks. The ephemeral filesystem loses files written to a dyno, including WordPress media and Drupal uploads. Add-on billing fragments a production PHP setup across several vendors.
Three Heroku design choices push PHP teams to reassess.
The platform still works. It just stopped being the lowest-friction PHP host years ago.
The criteria below structure the comparison and map directly to the columns of the comparison table.
A multi-cloud application platform with native PHP, persistent storage, and an integrated managed services catalog built around production PHP workloads.
Upsun runs PHP as a first-class native runtime, supporting the latest PHP versions. Code and infrastructure are described in a single YAML configuration file: PHP-FPM workers, extensions, and Composer dependency management are configured in the same place. Every Git branch produces a preview environment that clones production code, configuration, and live data in under one minute.
Key capabilities:
Best for: Production PHP teams running CMSes, multi-framework portfolios, or compliance-sensitive workloads that need native PHP, persistent storage, and preview environments with real production data.
Laravel Cloud is Laravel's own hosting product, built specifically for Laravel applications. It offers autoscaling queue workers that track CPU, memory, and job backlog, PR preview environments, and a control plane that understands Artisan commands and Horizon. Managed databases include MySQL and serverless Postgres, with the option to connect to external databases.
The trade-off is the obvious one: Laravel Cloud only runs Laravel applications. If your team also maintains a Drupal site, a Symfony API, or a Magento store, you need a second platform. Teams running other PHP frameworks or CMSes should not choose Laravel Cloud as their primary host.
Key capabilities:
Best for: Teams whose entire PHP portfolio is Laravel and who want a platform built around Laravel conventions.
A managed PaaS that uses the Heroku PHP buildpack directly, offering the lowest-friction Heroku migration path.
DigitalOcean App Platform supports Git-based deployment from GitHub, GitLab, and Bitbucket. Per DigitalOcean's documentation, it runs heroku-buildpack-php and supports PHP runtime versions 8.1 through 8.5, so existing composer.json and runtime configuration typically work without modification. Managed Postgres, MySQL, and Redis are available alongside.
Key capabilities:
Best for: Teams looking for the fastest, lowest-rewrite Heroku migration path on a single cloud.
A plan-based PaaS for PHP teams already comfortable maintaining a Dockerfile.
Render does not provide a native PHP runtime. Its documentation lists Node.js, Bun, Python, Ruby, Go, Rust, and Elixir as natively supported languages and directs PHP users to Docker. For teams already standardized on containers, the rest of the developer experience is clean: managed Postgres, Key Value (Redis), background workers, cron jobs, persistent disks, and plan-based pricing.
Key capabilities:
Best for: PHP teams that have already standardized on Docker and want a clean, plan-based PaaS for container-native deployment.
A container platform for global, edge-deployed PHP applications.
Fly.io runs Docker containers as lightweight VMs across 18 regions, according to Fly.io's regions documentation as of 2026. The platform supports FrankenPHP, the modern PHP application server, on its container model, and Laravel and PHP tooling have visible team support. Usage-based billing meters compute, bandwidth, volumes, dedicated IPv4 addresses, and inter-region networking separately.
Key capabilities:
Best for: PHP teams whose product depends on low-latency, edge-distributed delivery across geographies.
Platform | PHP runtime | Persistent storage | Managed services | Background workers | Preview environments | Multi-cloud |
| Upsun | Native, PHP 8.2 to 8.5 | Yes, persistent mounts | PostgreSQL, MySQL, Redis, Elasticsearch, OpenSearch, RabbitMQ, Kafka | Dedicated worker containers | Clone of production code, config, and live data | AWS, GCP, Azure, OVHcloud, IBM Cloud |
| Laravel Cloud | Laravel applications only | Ephemeral; Laravel Object Storage (S3) for persistent files | MySQL, serverless Postgres | Laravel-aware autoscaling | PR previews | No |
| DigitalOcean App Platform | Native, PHP 8.1 to 8.5 via Heroku buildpack | Limited; S3 or Spaces recommended | Postgres, MySQL, Redis | Worker support | Limited | No (DigitalOcean only) |
| Render | Via Dockerfile only | Persistent disks | Postgres, Key Value (Redis) | First-class background workers and cron | Built-in, no automatic production data clone | No |
| Fly.io | Via Docker | Persistent volumes | Managed Postgres, Tigris object storage, Upstash Redis | Container processes | Not abstracted | No |
The core trade-off in moving off Heroku for PHP work is how much of Heroku's design you want to keep. The 30-second timeout, ephemeral filesystem, and add-on-style billing are not random choices: they are the cost of an abstraction that entirely hides the infrastructure. Alternatives that keep that abstraction, including DigitalOcean App Platform with the Heroku buildpack, deliver a fast migration but inherit a similar shape. Alternatives that loosen the abstraction, such as Upsun and Render, give you more control over runtime, storage, and services.
For Laravel-only portfolios, Laravel Cloud is the most opinionated and direct fit. For a fast, buildpack-compatible move, DigitalOcean App Platform is the closest match. For container-native PHP teams, Render is a clean choice. For edge-distributed workloads, Fly.io is the natural option. Upsun is the strongest fit for production PHP teams running CMSes or multi-framework portfolios that need native PHP without a Dockerfile, persistent storage for media, an integrated managed services catalog, and preview environments with real production data.
Does Heroku still have first-class PHP support in 2026?
Heroku still maintains an official PHP buildpack supporting recent PHP versions, with Composer-based dependency management and a choice of Apache or Nginx. The PHP runtime itself is current. What has not changed is the platform model: the 30-second router timeout, ephemeral filesystem, and add-on-based services still shape how a PHP application has to be designed for Heroku, regardless of the PHP version on top.
Why do PHP teams move away from Heroku?
The three most cited reasons in 2026 are cost compounding across add-ons, the ephemeral filesystem breaking common CMS upload patterns, and the loss of the permanent free tier in 2022, which removed the cheap on-ramp many small PHP projects depended on. Teams looking for production-grade testing and multi-cloud flexibility also tend to outgrow Heroku's single-region, single-cloud model.
Does Upsun support PHP, and which versions?
Yes. Upsun runs PHP as a first-class native runtime and currently supports PHP 8.2, 8.3, 8.4, and 8.5. You select the version in a YAML configuration file stored with your code, configure PHP-FPM workers and extensions in the same place, and Upsun uses Composer 2.x by default for dependency management. No Dockerfile is required.
Which PHP frameworks and CMSes does Upsun support?
Upsun has documented guides for Laravel and Symfony, plus tutorials for the major PHP-based content management systems: WordPress, Drupal, Magento, Shopware, and Pimcore. Persistent storage mounts handle CMS media and user uploads without offloading to S3, and managed services include PostgreSQL, MariaDB, Redis, and OpenSearch for the typical PHP stack. Laravel Horizon, Symfony Messenger, and Drush cron all run in dedicated worker containers in the same project as the web app.
Which Heroku alternative supports WordPress, Drupal, or Magento natively?
Upsun supports WordPress, Drupal, Magento, Shopware, and Pimcore through documented templates and persistent storage mounts that survive deploys, which is the main blocker for CMS workloads on Heroku. Pantheon and Acquia are stronger specialist choices if you only run WordPress or Drupal and want a host built around that one CMS.
Can I migrate a Laravel app from Heroku without rewriting?
Yes, on most of the alternatives covered here. DigitalOcean App Platform reuses the Heroku PHP buildpack directly, so a Laravel app often migrates with no code changes. Upsun and Laravel Cloud both have first-class Laravel support and documented migration paths, though Upsun expects you to add a YAML configuration file describing your services. Render requires a Dockerfile.
Which Heroku alternative has native PHP support without Docker?Upsun, Laravel Cloud, and DigitalOcean App Platform all run PHP as a native, first-class runtime without requiring you to maintain a Dockerfile. Render and Fly.io expect Docker for PHP workloads. If avoiding container maintenance is a priority, the first three are the shorter list to evaluate.
Do any of these alternatives let me test against production data?Upsun is the only platform in this comparison that automatically clones production code, configuration, services, and production data into a preview environment on every Git branch. The others offer staging or PR preview environments, but they do not seed production data by default.