PHPackages                             guillermoandrae/php-lambda-api-gateway-response - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. guillermoandrae/php-lambda-api-gateway-response

ActiveLibrary[API Development](/categories/api)

guillermoandrae/php-lambda-api-gateway-response
===============================================

Builds responses for Amazon API Gateway integrations.

1.1.0(5y ago)0138[1 PRs](https://github.com/guillermoandrae/php-lambda-api-gateway-response/pulls)MITPHPPHP &gt;=7.2CI failing

Since Apr 12Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/guillermoandrae/php-lambda-api-gateway-response)[ Packagist](https://packagist.org/packages/guillermoandrae/php-lambda-api-gateway-response)[ RSS](/packages/guillermoandrae-php-lambda-api-gateway-response/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

PHP AWS Lambda Function Response for Amazon API Gateway Integrations
====================================================================

[](#php-aws-lambda-function-response-for-amazon-api-gateway-integrations)

[![Travis](https://camo.githubusercontent.com/52dfbff46e04dd548cb5265d1740b2fed3e4e5bb610a407364fd50027614ffe3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6775696c6c65726d6f616e647261652f7068702d6c616d6264612d6170692d676174657761792d726573706f6e73652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/guillermoandrae/php-lambda-api-gateway-response) [![Scrutinizer](https://camo.githubusercontent.com/83f31f8e82b013b22e4e85227e171b0d51215c01147a8439bc7cc1b71362c80a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6775696c6c65726d6f616e647261652f7068702d6c616d6264612d6170692d676174657761792d726573706f6e73652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/guillermoandrae/php-lambda-api-gateway-response/) [![Scrutinizer Coverage](https://camo.githubusercontent.com/1d56bcd25401fbed58147cf0f56021375e5c39f59e9cfdc499dba888713acf19/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6775696c6c65726d6f616e647261652f7068702d6c616d6264612d6170692d676174657761792d726573706f6e73652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/guillermoandrae/php-lambda-api-gateway-response/) [![PHP from Travis config](https://camo.githubusercontent.com/ce35707817cde2ec838147ae92837c9350ce990c0c5d0321599691e7757df8cb/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d762f6775696c6c65726d6f616e647261652f7068702d6c616d6264612d6170692d676174657761792d726573706f6e73652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/guillermoandrae/php-lambda-api-gateway-response)[![@guillermoandrae on Twitter](https://camo.githubusercontent.com/70c8987bbf09ffea3df71ed0afad16f7a74817180859c9ee82460705ed6282ea/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d2534306775696c6c65726d6f616e647261652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/guillermoandrae)

This project provides classes that make it easier to build the response needed for [Lambda and API Gateway integration](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-integration-settings-integration-response.html).

Installation
------------

[](#installation)

Do this, then relax:

```
composer require guillermoandrae/php-lambda-api-gateway-response

```

Testing
-------

[](#testing)

Run the following command to make sure your code is appropriately styled:

```
composer check-style

```

Run the following command to check style, run tests, and generate a Clover report:

```
composer test

```

Run the following command to check style, run tests, and generate an HTML report (access the report at ):

```
composer test-html

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance53

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~192 days

Total

2

Last Release

2036d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2506dcc85d5af658321cdb08df33f0ebb585c04f24bfcca0f8c05dd6f68bc0f?d=identicon)[guillermoandrae](/maintainers/guillermoandrae)

---

Top Contributors

[![guillermoandrae](https://avatars.githubusercontent.com/u/133861?v=4)](https://github.com/guillermoandrae "guillermoandrae (9 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/guillermoandrae-php-lambda-api-gateway-response/health.svg)

```
[![Health](https://phpackages.com/badges/guillermoandrae-php-lambda-api-gateway-response/health.svg)](https://phpackages.com/packages/guillermoandrae-php-lambda-api-gateway-response)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
