Cookies ahead

Our support chat tool "Intercom" would like to collect some more data on you. See the related link for more details.

Docs

Neon

🟢

Only green here.

Neon is a serverless PostgreSQL database platform that separates storage and compute, offering auto-scaling and branching features compatible with fortrabbit apps.

Neon is a serverless open-source Postgres database. It separates storage and compute to offer a modern serverless Postgres experience. It features branching, autoscaling, and bottomless storage.

PHP and Postgres

While fortrabbit currently offers a LAMP stack (Linux, Apache, MySQL, PHP), you can use Postgres if your application supports it.

Extensions

You need the pgsql or pdo_pgsql extensions enabled. Both are available on fortrabbit, with pdo_pgsql typically enabled by default. Enable them in your composer.json if needed.

Laravel example

Laravel supports Postgres out of the box. Just change your default connection:

DB_CONNECTION=pgsql
DB_HOST=ep-random-name-123456.eu-central-1.aws.neon.tech
DB_PORT=5432
DB_DATABASE=neondb
DB_USERNAME=user
DB_PASSWORD=password
bash

Region

Neon runs on AWS. Choose a region that is close to your fortrabbit app.

Written by a human. Review, grammar checks and typo fixes by AI.

AI use & editorial processEdit on GitHub ↗