aws-lambda-php-integration

Solid

Provides AWS Lambda integration patterns for PHP with Symfony using the Bref framework. Creates Lambda handler classes, configures runtime layers, sets up SQS/SNS event triggers, implements warm-up strategies, and optimizes cold starts. Use when deploying PHP/Symfony applications to AWS Lambda, configuring API Gateway integration, implementing serverless PHP applications, or optimizing Lambda performance with Bref. Triggers include "create lambda php", "deploy symfony lambda", "bref lambda aws", "php lambda cold start", "aws lambda php performance", "symfony serverless", "php serverless framework".

DevOps & Infrastructure 261 stars 29 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
81
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# AWS Lambda PHP Integration Patterns for deploying PHP and Symfony applications on AWS Lambda using the Bref framework. ## Overview Two approaches available: - **Bref Framework** - Standard PHP on Lambda with Symfony support, built-in routing, cold start < 2s - **Raw PHP** - Minimal overhead, maximum control, cold start < 500ms Both support API Gateway integration with production-ready configurations. ## When to Use - Creating new Lambda functions in PHP - Migrating existing Symfony applications to Lambda - Optimizing cold start performance - Configuring API Gateway or SQS/SNS event triggers - Setting up deployment pipelines for PHP Lambda ## Instructions ### 1. Choose Your Approach | Approach | Cold Start | Best For | Complexity | |----------|------------|----------|------------| | Bref | < 2s | Symfony apps, full-featured APIs | Medium | | Raw PHP | < 500ms | Simple handlers, maximum control | Low | ### 2. Project Structure #### Symfony with Bref Structure ``` my-symfony-lambda/ ├── composer.json ├── serverless.yml ├── public/ │ └── index.php # Lambda entry point ├── src/ │ └── Kernel.php # Symfony Kernel ├── config/ │ ├── bundles.php │ ├── routes.yaml │ └── services.yaml └── templates/ ``` #### Raw PHP Structure ``` my-lambda-function/ ├── public/ │ └── index.php # Handler entry point ├── composer.json ├── serverless.yml └── src/ └── Services/ ``` ### 3. Implementation **Symfony with Bref:** ```php // public/index.php u...

Details

Author
giuseppe-trisciuoglio
Repository
giuseppe-trisciuoglio/developer-kit
Created
7 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Solid

aws-lambda-typescript-integration

Provides AWS Lambda integration patterns for TypeScript with cold start optimization. Use when creating or deploying TypeScript Lambda functions, choosing between NestJS framework and raw TypeScript approaches, optimizing cold starts, configuring API Gateway or ALB integration, or implementing serverless TypeScript applications. Triggers include "create lambda typescript", "deploy typescript lambda", "nestjs lambda aws", "raw typescript lambda", "aws lambda typescript performance".

261 Updated 1 weeks ago
giuseppe-trisciuoglio
DevOps & Infrastructure Solid

aws-lambda-python-integration

Provides AWS Lambda integration patterns for Python with cold start optimization. Use when deploying Python functions to AWS Lambda, choosing between AWS Chalice and raw Python approaches, optimizing cold starts, configuring API Gateway or ALB integration, or implementing serverless Python applications. Triggers include "create lambda python", "deploy python lambda", "chalice lambda aws", "python lambda cold start", "aws lambda python performance", "python serverless framework".

261 Updated 1 weeks ago
giuseppe-trisciuoglio
DevOps & Infrastructure Solid

aws-lambda-java-integration

Provides AWS Lambda integration patterns for Java with cold start optimization. Use when deploying Java functions to AWS Lambda, choosing between Micronaut and Raw Java approaches, optimizing cold starts below 1 second, configuring API Gateway or ALB integration, or implementing serverless Java applications. Triggers include "create lambda java", "deploy java lambda", "micronaut lambda aws", "java lambda cold start", "aws lambda java performance", "java serverless framework".

261 Updated 1 weeks ago
giuseppe-trisciuoglio
DevOps & Infrastructure Solid

lambda

AWS Lambda serverless functions for event-driven compute. Use when creating functions, configuring triggers, debugging invocations, optimizing cold starts, setting up event source mappings, or managing layers.

1,111 Updated 5 days ago
itsmostafa
DevOps & Infrastructure Solid

aws-cloudformation-lambda

Provides AWS CloudFormation patterns for Lambda functions, layers, API Gateway integration, event sources, cold start optimization, monitoring, logging, template validation, and deployment workflows. Use when creating Lambda functions with CloudFormation, configuring event sources, implementing cold start optimization, managing layers, integrating with API Gateway, and deploying Lambda infrastructure.

261 Updated 1 weeks ago
giuseppe-trisciuoglio