You've already forked aws-lambda-layer-php
code example
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ composer*
|
||||
deploy.md
|
||||
runtime*
|
||||
vendor*
|
||||
*.zip
|
||||
|
1
build.sh
1
build.sh
@ -29,3 +29,4 @@ mv runtime.zip ../
|
||||
cd ..
|
||||
|
||||
zip -r vendor.zip vendor
|
||||
zip -r lambda.zip src
|
||||
|
6
src/hello.php
Normal file
6
src/hello.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
function hello($data)
|
||||
{
|
||||
return "Hello, {$data['name']}!";
|
||||
}
|
Reference in New Issue
Block a user