PHPackages                             atymic/vapor-core - 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. [Framework](/categories/framework)
4. /
5. atymic/vapor-core

ActiveLibrary[Framework](/categories/framework)

atymic/vapor-core
=================

The kernel and invocation handlers for Laravel Vapor

v2.43.3(2mo ago)113MITPHPPHP ^7.2|^8.0CI failing

Since Aug 13Pushed 2mo agoCompare

[ Source](https://github.com/atymic/vapor-core)[ Packagist](https://packagist.org/packages/atymic/vapor-core)[ Docs](https://github.com/atymic/vapor-core)[ GitHub Sponsors](https://github.com/atymic)[ RSS](/packages/atymic-vapor-core/feed)WikiDiscussions 2.0 Synced yesterday

READMEChangelog (10)Dependencies (38)Versions (79)Used By (0)

Laravel Vapor Core / Runtime with Extended Secret Support
=========================================================

[](#laravel-vapor-core--runtime-with-extended-secret-support)

Changes from upstream
---------------------

[](#changes-from-upstream)

By default, vapor passes your `.env` variables directly to the lambda function. Unfortunately this has a 2kb limit - very easy to exceed, especially with apps that interact with lots of external services. Currently, the Laravel team suggests creating a secret for every single extra environment variable, which is unfeasible.

This fork of the official package adds extended ENV support. This works by pushing your additional `.env` files to a secret which is loaded just like a normal dotenv in Laravel. Ideally this will be integrated into the core, but the Laravel team does not currently seem to be prioritising this issue.

The change is very small and single, you can view it by diffing this fork against the official repo.

Using this package
------------------

[](#using-this-package)

- Update your `composer.json` to point your installation to the fork, using the `repositories` option.

```
"repositories": [
    {
        "type": "github",
        "url": "https://github.com/atymic/vapor-core"
    }
],
```

- Update your version to the latest tag (first release being 2.21.3), which will have the secrets code in it. Make sure to lock it to the specific version (otherwise, when laravel updates the mainline package you'll be upgraded and won't have the secret code). Subscribe to [release notifications on the repo](https://github.com/atymic/vapor-core) so you can update once we have released the new version.
- Create an additional `.env` file, for example, `.env.extended` (make sure to gitignore). This file can be up to 10kb
- Update your production deployment script to push the extended env file to a secret (i.e. `vapor secret --name DOT_ENV_EXTENDED  --file .env.extended production`)
    - Any secret with a name prefixed with `DOT_ENV` will be loaded by laravel as a `env` file
- Your app will load the additional secret file at runtime!

Upstream Readme
---------------

[](#upstream-readme)

[![Build Status](https://github.com/laravel/vapor-core/workflows/tests/badge.svg)](https://github.com/laravel/vapor-core/actions)[![Total Downloads](https://camo.githubusercontent.com/01c366876e0c8d7294b81b4d8f331f5ce55be04b2db7f5b167be2891ff62a3e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2f7661706f722d636f7265)](https://packagist.org/packages/laravel/vapor-core)[![Latest Stable Version](https://camo.githubusercontent.com/e22ed3bbded0fe0c9cd962aea0b47329804d812fcf5828a8d3f6789c0f1b16ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2f7661706f722d636f7265)](https://packagist.org/packages/laravel/vapor-core)[![License](https://camo.githubusercontent.com/8ae756b8e24b5bb415f1fb01e5d3f4a249652fc4591dd7250e76ed42fddf363e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c61726176656c2f7661706f722d636f7265)](https://packagist.org/packages/laravel/vapor-core)

[Laravel Vapor](https://vapor.laravel.com) is an auto-scaling, serverless deployment platform for Laravel, powered by AWS Lambda. Manage your Laravel infrastructure on Vapor and fall in love with the scalability and simplicity of serverless.

Vapor abstracts the complexity of managing Laravel applications on AWS Lambda, as well as interfacing those applications with SQS queues, databases, Redis clusters, networks, CloudFront CDN, and more.

This repository contains the core service providers and runtime client used to make Laravel applications run smoothly in a serverless environment. To learn more about Vapor and how to use this repository, please consult the [official documentation](https://docs.vapor.build).

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance88

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~100 days

Total

78

Last Release

60d ago

Major Versions

v1.0.2 → v2.0.02019-09-04

v1.0.3 → v2.0.12019-09-04

v1.0.4 → v2.5.02020-02-19

PHP version history (3 changes)v1.0.0PHP ^7.1

v2.9.0PHP ^7.2

v2.9.9PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/65eb3a7ba2a2c13b3a9de48b836caf759ad4052f9a839e30464c80d177d5b3d2?d=identicon)[atymic](/maintainers/atymic)

---

Top Contributors

[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (102 commits)")[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (96 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (66 commits)")[![joedixon](https://avatars.githubusercontent.com/u/3438564?v=4)](https://github.com/joedixon "joedixon (20 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (13 commits)")[![driesvints](https://avatars.githubusercontent.com/u/594614?v=4)](https://github.com/driesvints "driesvints (12 commits)")[![tlaverdure](https://avatars.githubusercontent.com/u/1731025?v=4)](https://github.com/tlaverdure "tlaverdure (6 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (3 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (3 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (3 commits)")[![olivernybroe](https://avatars.githubusercontent.com/u/5870441?v=4)](https://github.com/olivernybroe "olivernybroe (3 commits)")[![Vinimaks](https://avatars.githubusercontent.com/u/17598095?v=4)](https://github.com/Vinimaks "Vinimaks (2 commits)")[![Hornet-Wing](https://avatars.githubusercontent.com/u/10299554?v=4)](https://github.com/Hornet-Wing "Hornet-Wing (2 commits)")[![iamgergo](https://avatars.githubusercontent.com/u/6567179?v=4)](https://github.com/iamgergo "iamgergo (2 commits)")[![mathiasgrimm](https://avatars.githubusercontent.com/u/450069?v=4)](https://github.com/mathiasgrimm "mathiasgrimm (2 commits)")[![mortenhauberg](https://avatars.githubusercontent.com/u/3660049?v=4)](https://github.com/mortenhauberg "mortenhauberg (2 commits)")[![sniper7kills](https://avatars.githubusercontent.com/u/5902574?v=4)](https://github.com/sniper7kills "sniper7kills (2 commits)")[![clementai](https://avatars.githubusercontent.com/u/6172122?v=4)](https://github.com/clementai "clementai (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")[![PNardman](https://avatars.githubusercontent.com/u/5041248?v=4)](https://github.com/PNardman "PNardman (1 commits)")

---

Tags

laravelvapor

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/atymic-vapor-core/health.svg)

```
[![Health](https://phpackages.com/badges/atymic-vapor-core/health.svg)](https://phpackages.com/packages/atymic-vapor-core)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[laravel/vapor-core

The kernel and invocation handlers for Laravel Vapor

41411.6M11](/packages/laravel-vapor-core)[laravel/vapor-cli

The Laravel Vapor CLI

31310.7M8](/packages/laravel-vapor-cli)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M531](/packages/laravel-passport)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M257](/packages/laravel-dusk)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)

PHPackages © 2026

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