Skip to content

Latest commit

 

History

History

helloworld

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Google Compute Engine PHP Sample Application

Description

This is a simple web-based example of calling the Google Compute Engine API in PHP.

Prerequisites

  • Run composer install in this directory to install the google/cloud-compute library.
  • Follow Getting started with authentication to authenticate with Service Account credentials.

Running the Sample Application

Run app.php on your web server:

php -S localhost:8080

Visit the website (http://localhost:8080/app.php) in your web browser.