Skip to content

Commit

Permalink
Merge pull request #173 from hschimpf/feature/laravel-new
Browse files Browse the repository at this point in the history
Use PHP v8.2 as default
  • Loading branch information
mnapoli authored Feb 18, 2025
2 parents b2b4c24 + d0ab5fc commit bb0b245
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions examples/getting-started/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ functions:
BREF_LOOP_MAX: 250
BREF_BINARY_RESPONSES: 1
layers:
- ${bref:layer.php-81}
- ${bref:layer.php-82}
events:
- httpApi: '*'

cli:
handler: artisan
timeout: 720
layers:
- ${bref:layer.php-81}
- ${bref:layer.php-82}
- ${bref:layer.console}
events:
- schedule:
Expand All @@ -79,7 +79,7 @@ functions:
handler: Bref\LaravelBridge\Queue\QueueHandler
timeout: 59
layers:
- ${bref:layer.php-81}
- ${bref:layer.php-82}
events:
- sqs:
arn: !GetAtt Queue.Arn
Expand Down
4 changes: 2 additions & 2 deletions stubs/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ functions:
# This function runs the Laravel website/API
web:
handler: public/index.php
runtime: php-81-fpm
runtime: php-82-fpm
timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds)
events:
- httpApi: '*'

# This function lets us run artisan commands in Lambda
artisan:
handler: artisan
runtime: php-81-console
runtime: php-82-console
timeout: 720 # in seconds
# Uncomment to also run the scheduler every minute
#events:
Expand Down

0 comments on commit bb0b245

Please sign in to comment.