| Recommend this page to a friend! | 
| Info | Example | Reputation | Support forum | Blog | Links | 
| Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
| 2024-10-10 (5 months ago)  | Not enough user ratings | Total: 23 | All time:  11,291 This week: 46 | |||||
| Version | License | PHP version | Categories | |||
| helloworld_http_func 1.0 | MIT/X Consortium ... | 5 | PHP 5, Web services, Hosting | 
<?php | 
This is the example for GCP Cloud function with PHP.
function_name="your function name"
REGION="your GCP region"
gcloud functions deploy ${function_name} \
    --gen2 \
    --runtime=php82 \
    --region="$REGION" \
    --source=. \
    --entry-point=helloHttp \
    --trigger-http \
    --allow-unauthenticated
function_name="your function name"
REGION="your GCP region"
gcloud functions delete ${function_name} --region="$REGION"
| File | Role | Description | 
|---|---|---|
| Data | Auxiliary data | |
| Example | Example script | |
| Lic. | License text | |
| Doc. | Documentation | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| helloworld_http_func-2024-10-10.zip 2KB | |
| helloworld_http_func-2024-10-10.tar.gz 2KB | |
| Install with Composer | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
  | 
  | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.