PHPackages                             rousi/apigw-request-factory - 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. rousi/apigw-request-factory

ActiveLibrary[API Development](/categories/api)

rousi/apigw-request-factory
===========================

PSR Request Factory from aws-based API Gateway Request

1.0.1(1y ago)011MITPHPPHP &gt;=7.4

Since Sep 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rousime/apigw-request-factory)[ Packagist](https://packagist.org/packages/rousi/apigw-request-factory)[ RSS](/packages/rousi-apigw-request-factory/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

API Gateway Request Factory
===========================

[](#api-gateway-request-factory)

A library for creating a psr-based request based on data passed from the gateway api to the function, as well as for generating a response from a psr-based response.

Installation
============

[](#installation)

You can install this library via Composer. To do this, simply run the following command in your working directory:

```
composer require rousi/apigw-request-factory

```

Usage
=====

[](#usage)

Example of the function entry point code for "Yandex Cloud Functions":

```
