The following project is recommended for implementing PHP applications using the YugabyteDB YSQL API.
|php-pgsql Driver||Hello World|
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.
To develop PHP applications for YugabyteDB, you need:
- a YugabyteDB cluster
- Create a free cluster on YugabyteDB Managed. Refer to Use a cloud cluster. Note that YugabyteDB Managed requires SSL.
- Alternatively, set up a standalone YugabyteDB cluster by following the steps in Install YugabyteDB.