PHPackages                             michaeljwright/laravel-aws-lambda - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. michaeljwright/laravel-aws-lambda

Abandoned → aws-sdk-php-laravelLibrary[HTTP &amp; Networking](/categories/http)

michaeljwright/laravel-aws-lambda
=================================

Allows php to respond to http requests on aws lambda

0.0.1(8y ago)04MITPHPPHP &gt;=7.1.0

Since Jul 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/michaeljwright/laravel-aws-lambda)[ Packagist](https://packagist.org/packages/michaeljwright/laravel-aws-lambda)[ Docs](https://stechstudio.com/)[ RSS](/packages/michaeljwright-laravel-aws-lambda/feed)WikiDiscussions master Synced 3d ago

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

Serverless Laravel on AWS Lambda
================================

[](#serverless-laravel-on-aws-lambda)

Want to build PHP applications comprised of microservices that run in response to events, auto-scale for you, and only charge you when they run. So do we! This Laravel Pluging lowers the total cost of maintaining our apps, enabling us to build more logic, faster. That right, more ... faster ... Laravel ... PHP ... does it get any better!?

Our company has a significant investment in [PHP](https://secure.php.net/) development as well as [Amazon Web Services (AWS)](https://aws.amazon.com/). We desire the ability to run [Laravel](https://laravel.com/)/[Lumen](https://lumen.laravel.com/) Applications in [AWS Lambda](https://aws.amazon.com/lambda/) despite the fact that PHP isn't formally supported.

We created a system for easily building [PHP Executables](https://github.com/stechstudio/php-lambda) that will run properly in AWS Lambda Functions. Then we set about the task of creating this plugin to allow easily integrating our application with the Lambda Runtime in order to enjoy *serverless* Lumen/Laravel apps.

Requirements
------------

[](#requirements)

PHP Version 7.1 - Because I enjoy writing PHP 7.1 code and do not want to write something that is backward compatible.

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

[](#installation)

```
composer require stechstudio/laravel-aws-lambda

```

### Register the Provider:

[](#register-the-provider)

For Lumen services, add:

```
$app->register(STS\Serverless\ServiceProvider::class);
```

to `bootstrap/app.php`. For Laravel applications, add:

```
STS\Serverless\ServiceProvider::class,
```

to the `providers` array in `config/app.php`.

Configuration
-------------

[](#configuration)

// @todo Actually fill this in. `artisan aws-lambda:install` - Copy all the PHP executable, libraries, and node.js stuff into place. `artisan aws-lambda:package` - Creates a zip archive that can be uploaded to AWS Lambda.

Use It
------

[](#use-it)

// @todo Actually fill this in. Local test with [lambda-local](https://www.npmjs.com/package/lambda-local) if you have installed it.

`lambda-local -l resources/nodejs/gateway.js -h handler -e resources/nodejs/event-samples/test-data.js`

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92% 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

Unknown

Total

1

Last Release

3236d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8090690?v=4)[Mike Wright](/maintainers/michaeljwright)[@michaeljwright](https://github.com/michaeljwright)

---

Top Contributors

[![bubba-h57](https://avatars.githubusercontent.com/u/603630?v=4)](https://github.com/bubba-h57 "bubba-h57 (23 commits)")[![michaeljwright](https://avatars.githubusercontent.com/u/8090690?v=4)](https://github.com/michaeljwright "michaeljwright (2 commits)")

---

Tags

phplaravelawslumenlambda

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/michaeljwright-laravel-aws-lambda/health.svg)

```
[![Health](https://phpackages.com/badges/michaeljwright-laravel-aws-lambda/health.svg)](https://phpackages.com/packages/michaeljwright-laravel-aws-lambda)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[renoki-co/laravel-aws-webhooks

Easy webhook handler for Laravel to catch AWS SNS notifications for various services.

73248.5k](/packages/renoki-co-laravel-aws-webhooks)

PHPackages © 2026

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