Skip to content

Run php on AWS lambda with terraform for IaC

License

Notifications You must be signed in to change notification settings

availity-droo/php-lambda

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-lambda

Run php on AWS lambda with terraform for IaC

Branches

This repo is setup to with separate branches for different use cases of running php on lambda.

  • main shows a basic event handler lambda triggered by new files put into s3
  • php-view shows a basic setup for rendering php views and a router for dispatching to the respective view handler
  • php-api shows a symfony api project with api gateway {proxy+} route handling requests and symfony handling routing

Requirements

  • terraform cli
  • php >=8.0
  • composer

Setup

PHP

  • Install php dependencies with composer install

Terraform and Infrastructure

  • Initialize terraform with cd ./infrastructure && terraform init

Links

About

Run php on AWS lambda with terraform for IaC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 81.6%
  • PHP 18.4%