Supported projects

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

Project Example apps
php-pgsql Driver Hello World
Project Documentation and Guides Example Apps
Laravel ORM Documentation
Hello World
Laravel 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