PHPackages                             runar1/lumen-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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. runar1/lumen-lambda

ActiveProject[DevOps &amp; Deployment](/categories/devops)

runar1/lumen-lambda
===================

Enables lumen to run on AWS Lambda.

1.3.2(9y ago)139092[1 issues](https://github.com/Runar1/lumen-lambda/issues)[2 PRs](https://github.com/Runar1/lumen-lambda/pulls)MITPHP

Since May 5Pushed 7y ago3 watchersCompare

[ Source](https://github.com/Runar1/lumen-lambda)[ Packagist](https://packagist.org/packages/runar1/lumen-lambda)[ Docs](https://github.com/runar1/lumen-lambda)[ RSS](/packages/runar1-lumen-lambda/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (8)Dependencies (3)Versions (9)Used By (0)

lumen-lambda
============

[](#lumen-lambda)

[![Latest Stable Version](https://camo.githubusercontent.com/3c8c3c9aabddb5448f4e0c294c5917fe4f54896f9e19397ad63805446d21745f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f52756e6172312f6c756d656e2d6c616d6264612e737667)](https://packagist.org/packages/runar1/lumen-lambda) [![Total Downloads](https://camo.githubusercontent.com/93b3157f823b99e27d318c7a09f7cc16fc2705c0a0703a5e71025feb0409e32b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f52756e6172312f6c756d656e2d6c616d6264612e737667)](https://packagist.org/packages/runar1/lumen-lambda)

A package for running lumen on AWS Lambda.

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

[](#installation)

Installation using composer:

```
composer require runar1/lumen-lambda

```

Add the service provider in `bootstrap/app.php`:

```
$app->register(Runar1\Lambda\LambdaServiceProvider::class);
```

Usage
-----

[](#usage)

The project comes with a prebuilt php-cgi-7.0.16. Feel free to build your own.

- Create a lambda function on AWS.
- Make sure lumen is writing to /tmp or not at all.
- Run `php artisan lambda:deploy {name}` to deploy your app.
- Set lambda handler to `vendor/runar1/lumen-lambda/index.handler`
- Point AWS API Gateway to your newly generated lambda function.

For more indepth tips, read this excellent blog post: .

Contributing
------------

[](#contributing)

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

History
-------

[](#history)

- Version 1.3.2 (2017-05-31) - Deploy command is creating alias matching version
- Version 1.3.1 (2017-05-29) - Added parameter to deploy command
- Version 1.3.0 (2017-05-29) - Added command to deploy function
- Version 1.2.0 (2017-05-17) - Added curl certificate
- Version 1.1.2 (2017-05-11) - Fixed bugs with POST requests
- Version 1.1.1 (2017-05-09) - Fixed bug where request body wasn't sent to php-cgi
- Version 1.1.0 (2017-05-08) - Added support for MongoDB
- Version 1.0.0 (2017-05-05) - First public release
- Version 0.0.1 (2017-05-02) - Initial features

Credits
-------

[](#credits)

- Runar Heggset
- Chris White ()

License
-------

[](#license)

The MIT License (MIT)

Copyright (c) 2017 Runar Heggset

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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 ~4 days

Total

7

Last Release

3318d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/201a1fcdf2fbda6146e863e55bd7bd979510af3f6ca3c5413ac48ef25dd1c2d7?d=identicon)[Runar1](/maintainers/Runar1)

---

Top Contributors

[![runarheggset](https://avatars.githubusercontent.com/u/5491002?v=4)](https://github.com/runarheggset "runarheggset (36 commits)")

---

Tags

laravelamazonawslumenlambda

### Embed Badge

![Health badge](/badges/runar1-lumen-lambda/health.svg)

```
[![Health](https://phpackages.com/badges/runar1-lumen-lambda/health.svg)](https://phpackages.com/packages/runar1-lumen-lambda)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M173](/packages/laravel-ai)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.2k](/packages/laravel-sail)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M133](/packages/laravel-mcp)[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k38.2M84](/packages/aws-aws-sdk-php-laravel)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M157](/packages/spatie-laravel-health)

PHPackages © 2026

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