giuseppe-trisciuoglio avatar

Aws Lambda Php Integration

This handles the full deployment lifecycle for PHP applications on AWS Lambda using the Bref framework. It gives you two approaches: full Symfony integration with sub-2-second cold starts, or raw PHP handlers that clock in under 500ms. The skill sets up serverless.yml configs, creates proper handler classes, and includes practical cold start optimizations like lazy loading and classmap autoloading. What's useful here is the opinionated guidance on memory allocation (512MB for Symfony, 256MB for raw PHP) and the built-in validation steps before deployment. If you're running PHP in serverless and fighting cold starts or trying to figure out the right Bref setup, this packages the patterns you'd otherwise piece together from scattered documentation.

skills.sh installs
3.7K
GitHub stars
369
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
Backend & APIs, DevOps & CI/CD, Release Management, Debugging, Cloud & Infrastructure, PHP & Laravel
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 102
1cloudflare avatarbuilding-mcp-server-on-cloudflarecloudflare/skillsBuilds remote MCP (Model Context Protocol) servers on Cloudflare Workers with tools, OAuth authentication, and production deployment. Generates server code, con3.4Kskills.sh installs
2netlify avatarnetlify-edge-functionsnetlify/context-and-toolsGuide for writing Netlify Edge Functions. Use when building middleware, geolocation-based logic, request/response manipulation, authentication checks, A/B testi3.3Kskills.sh installs
3aj-geddes avatarnodejs-express-serveraj-geddes/useful-ai-promptsBuild production-ready Express.js servers with middleware, authentication, routing, and database integration. Use when creating REST APIs, managing requests/res3.3Kskills.sh installs
4netlify avatarnetlify-ai-gatewaynetlify/context-and-toolsReference for Netlify AI Gateway — the managed proxy that routes calls to OpenAI, Anthropic, and Google Gemini SDKs without provider API keys. Use this skill an3.3Kskills.sh installs
5netlify avatarnetlify-databasenetlify/context-and-toolsGuide for using Netlify Database — the GA managed Postgres product built into Netlify. Use when a project needs any kind of dynamic, structured, or relational d3.1Kskills.sh installs
6apollographql avatarapollo-serverapollographql/skillsGuide for building GraphQL servers with Apollo Server 5.x. Use this skill when: (1) setting up a new Apollo Server project, (2) writing resolvers or defining Gr3.1Kskills.sh installs