New advertisers: 50% off your first month with code FIRSTMONTHSee slots
giuseppe-trisciuoglio avatar

Aws Lambda Php Integration

Bref-based PHP and Symfony on AWS Lambda, with handler, layer, event-trigger, and cold-start guidance.

skills.sh installs
3.7K
GitHub stars
372
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers Bref (Symfony and raw PHP) deployment: handler classes, runtime layers, API Gateway routing, and cold-start tuning
  • Includes serverless.yml templates, a Symfony public/index.php entry point, and error-handling and logging patterns
  • Recommends 512MB memory for Symfony and 256MB for raw PHP, with timeout and autoload guardrails
  • Designed for teams moving Symfony or serverless PHP applications onto AWS Lambda

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill aws-lambda-php-integration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

ApproachCold StartBest ForComplexity
Bref< 2sSymfony apps, full-featured APIsMedium
Raw PHP< 500msSimple handlers, maximum controlLow

2. Project Structure

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
PHP & Laravel, DevOps & Cloud
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 95

Similar to Aws Lambda Php Integration

More PHP & Laravel