Back to Yugabyte Db

PHP

docs/content/stable/develop/drivers-orms/php/_index.md

2026.1.0.0-b251.1 KB
Original Source

Supported projects

The following project is recommended for implementing PHP applications using the YugabyteDB YSQL API.

ProjectExample apps
php-pgsql DriverHello World
ProjectDocumentation and GuidesExample Apps
Laravel ORMDocumentation
Hello WorldLaravel ORM App

For fully-runnable code snippets and explanations of common operations, see the example apps. Before running the example apps, make sure you have installed the prerequisites.

Prerequisites

To develop PHP applications for YugabyteDB, you need:

  • a YugabyteDB cluster
    • Create a free cluster on YugabyteDB Aeon. Refer to Use a cloud cluster. Note that YugabyteDB Aeon requires SSL.
    • Alternatively, set up a standalone YugabyteDB cluster by following the steps in Install YugabyteDB.

Next step

Connect an app