guillermoandrae/php-lambda-api-gateway-response

Builds responses for Amazon API Gateway integrations.

1.1.0 2020-10-21 00:44 UTC

This package is auto-updated.

Last update: 2024-10-29 06:05:45 UTC


README

Travis Scrutinizer Scrutinizer Coverage PHP from Travis config @guillermoandrae on Twitter

This project provides classes that make it easier to build the response needed for Lambda and API Gateway integration.

Installation

Do this, then relax:

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

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 http://localhost:8080):

composer test-html