Power. Scalability. Developer experience. Simple pricing.

The database PHP deserves

PlanetScale is a MySQL-compatible serverless database that pairs perfectly with PHP.

With developer-first features like branching, non-blocking schema changes, and real-time query analytics, you have everything you need to manage your database in one place.

Under the hood of PlanetScale lives Vitess, the technology that scaled YouTube, Slack, and more. With PlanetScale, you get the massive scale and power of Vitess with the extraordinary workflow of PlanetScale, all without having to hire a database expert to manage it for you.

Spin up a database in seconds

Get started with PlanetScale and PHP for free

PlanetScale works out of the box with Laravel, Symfony, and more. No special driver required. You can follow one of our quickstarts below to spin up a database, connect to your application, run migrations, and deploy to production in minutes.

Plug and play

PHP
# .env
HOST=xxxxxxx.us-east-3.psdb.cloud
DATABASE=php_database
USERNAME=xxxxxxxxxx
PASSWORD=xxxxxxxxxxxxxxxxxxxxxxx
MYSQL_ATTR_SSL_CA=/etc/ssl/cert.pem
Check out our PHP quickstart

Why PlanetScale?

What you get with PlanetScale

Whether you’re looking for built-in horizontal sharding, a Git-like development workflow for your database, a robust analytics dashboard, or straightforward pricing that grows with your business, we’ve got you covered.

Query performance analytics

  • With PlanetScale, you get an in-dashboard analytics dashboard to monitor your database down to the individual query level.
  • At-a-glance monitoring of rows read, rows written, query latency, and queries per second.
  • Deploy requests are overlayed on your analytics chart so you can easily tie performance back to a deployment.
  • Analyze all queries over the past 24 hours to discover if something is running too often, returning too many rows, and more.
  • Supports the use of SQL comments in your PHP code to track down individual query issues.

Powerful developer experience

  • Utilize a Git-like branching workflow for your database: create a branch off of your production schema, modify your schema, create a deploy request, and merge to production.
  • The PlanetScale workflow allows you to deploy non-blocking schema changes so you never experience locking.
  • Accidentally deployed a bad schema change? Instantly revert a schema change, without downtime or lost data.
  • Easily sync your database with your data warehouse for easy data analysis.
  • Serve your global users with read-only regions you can set up in seconds.

Effortless scale

  • Leverage Vitess, the battle-tested and reliable ACID-compliant MySQL orchestration layer that scaled YouTube.
  • Get automatic connection pooling, replication, horizontal sharding, and Vitess under-the-hood, so you can automatically scale to thousands of queries per second.
  • PlanetScale easily handles thousands of connections at once, without the memory-intensive overhead.
  • With our Enterprise plan, our solutions engineers will work with you to figure out the best horizontal sharding strategy for your application.

Predictable pricing

  • We offer 3 tiers to get you started and a special Enterprise offering to accomodate larger data needs.
  • Our free Hobby plan comes with 5GB storage, 1 billion row reads/mo, and 10 million row writes/mo.
  • If you’re looking for a more customizable plan, our Enterprise offering is for you. We can create custom usage-based or resource-based pricing with unlimited branches. Fill out the form below so we can learn more about your business needs and see how we can help.

Let us scale your database

Schedule a demo today

If you want to learn more about how PlanetScale can help your company scale, we’d love to chat. Fill out the form and we’ll be in touch shortly.

As a bonus, if you schedule a demo with us, we’ll ship you a free “database.” hat.

The last database you’ll ever need

Start your database in seconds

Never worry about another 3am wake-up call saying the site is down. Give your engineers the power they deserve with a PlanetScale database today.