Slide 9
Slide 9 text
Developer Community
AWS Lambda
PHP
PHP Deploy
PHPer
Bref
9
service: app-phpcon-okinawa
provider:
name: aws
region: ap-northeast-
1
plugins:
- ./vendor/bref/bref
functions:
api:
handler: index.php
description: ''
runtime: php-
8
2
-fpm
timeout:
28
# in seconds (API Gateway has a timeout
of
29
seconds)
events:
- httpApi: '*'
# Exclude files from deployment
package:
patterns:
- '!node_modules/**'
- '!tests/**'
$ composer require bref/bref
$ vendor/bin/bref init