PHPackages                             sagarchauhan/laravel-serverless-installer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sagarchauhan/laravel-serverless-installer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sagarchauhan/laravel-serverless-installer
=========================================

Laravel Serverless Installer for all laravel apps

0257C

Since Nov 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sagarchauhan005/laravel-serverless-installer)[ Packagist](https://packagist.org/packages/sagarchauhan/laravel-serverless-installer)[ RSS](/packages/sagarchauhan-laravel-serverless-installer/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Serverless Installer
============================

[](#laravel-serverless-installer)

A simple laravel installer package that guides you into installing a fully optimised Laravel Serverless app

Screenshot
==========

[](#screenshot)

[![Imgur](https://camo.githubusercontent.com/4547b19a49121a2a66dde2cb6894d61b26786c9ed5f3bc62b677c11f6b596cce/68747470733a2f2f692e696d6775722e636f6d2f326d6f52334f462e6a7067)](https://camo.githubusercontent.com/4547b19a49121a2a66dde2cb6894d61b26786c9ed5f3bc62b677c11f6b596cce/68747470733a2f2f692e696d6775722e636f6d2f326d6f52334f462e6a7067)

[![Imgur](https://camo.githubusercontent.com/4c6e739a115fa2b1cefbd5e144ed91e21b0b636e213884b52ce299d4e3d1b7f8/68747470733a2f2f692e696d6775722e636f6d2f4c626c4d5054792e6a7067)](https://camo.githubusercontent.com/4c6e739a115fa2b1cefbd5e144ed91e21b0b636e213884b52ce299d4e3d1b7f8/68747470733a2f2f692e696d6775722e636f6d2f4c626c4d5054792e6a7067)

[![Imgur](https://camo.githubusercontent.com/7b5053f9a65782f4a78b05c19372f92645c424427c5cd8ea470f0dd430cd5cca/68747470733a2f2f692e696d6775722e636f6d2f6253426f4f35562e6a7067)](https://camo.githubusercontent.com/7b5053f9a65782f4a78b05c19372f92645c424427c5cd8ea470f0dd430cd5cca/68747470733a2f2f692e696d6775722e636f6d2f6253426f4f35562e6a7067)

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

[](#installation)

[![Imgur](https://camo.githubusercontent.com/007b072e907cacfc4badfaac5876cfcf4223587efff3e961d2df57c1d12099e4/68747470733a2f2f692e696d6775722e636f6d2f7a7365744c4e412e6a7067)](https://camo.githubusercontent.com/007b072e907cacfc4badfaac5876cfcf4223587efff3e961d2df57c1d12099e4/68747470733a2f2f692e696d6775722e636f6d2f7a7365744c4e412e6a7067)

Run `composer require sagarchauhan/laravel-serverless-installer` into your app and then follow the steps.

### Register Service Provider (Lumen Only)

[](#register-service-provider-lumen-only)

This is not required in laravel , but if you are in lumen then you have to register service provider in bootstrap/app.php.

```
$app->register(sagarchauhan\LaravelServerlessServiceProvider::class);
```

Publishing Config In Laravel
----------------------------

[](#publishing-config-in-laravel)

```
php artisan vendor:publish --tag="serverless"

```

Publishing Config In Lumen
--------------------------

[](#publishing-config-in-lumen)

```
php artisan sagarchauhan:publish serverless

```

Run Setup in CorePHP
--------------------

[](#run-setup-in-corephp)

```
./vendor/bin/serverless-installer

```

Run Setup (In Lumen/Laravel)
----------------------------

[](#run-setup-in-lumenlaravel)

```
./vendor/bin/serverless-installer

```

Global Setup (Ubuntu)
---------------------

[](#global-setup-ubuntu)

Move the `vendor/bin/serverless-installer` to `/usr/bin` or `/usr/local/bin` and then run `serverless-installer` to setup the serverless framework.

Post Installation (Manual task)
-------------------------------

[](#post-installation-manual-task)

1. Add `'token' => env('AWS_SESSION_TOKEN'),` as a node in your queue.php `sqs` driver. This is running issue in Laravel. You can read more about it [here](https://github.com/laravel/laravel/pull/5138#issuecomment-624025825)

[![Imgur](https://camo.githubusercontent.com/5cf1d2246d36a5de780a4a2cebef091b8e2c8e1a9f352f7bb72af4226e7700e9/68747470733a2f2f692e696d6775722e636f6d2f7a31465a5167632e6a7067)](https://camo.githubusercontent.com/5cf1d2246d36a5de780a4a2cebef091b8e2c8e1a9f352f7bb72af4226e7700e9/68747470733a2f2f692e696d6775722e636f6d2f7a31465a5167632e6a7067)

2. Define `AWS_SESSION_TOKEN=` in your env file. Leave its value empty. It just needs to be there. That's it.
3. Next add AWS related env values in your .env file

```
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=ap-south-1
QUEUE_CONNECTION=sqs
SQS_PREFIX=  #put the actual value on second deployment
SQS_QUEUE=   #put the actual value on second deployment
ASSET_URL=https://.s3.ap-south-1.amazonaws.com #required for apps that have front-end and back-end coupled

```

4. For enabling scheduler, open your `Kernal.php` file inside `app/Console.`Inside schedule function add

```
$schedule->command('telescope:prune --hours=48')->daily()->timezone('Asia/Kolkata'); for pruning telescope logs on daily basis.

```

Author
======

[](#author)

[Sagar Chauhan](https://twitter.com/sagarchauhan005) works as a Project Manager - Technology at [Greenhonchos](https://www.greenhonchos.com). In his spare time, he hunts bug as a Bug Bounty Hunter. Follow him at [Instagram](https://www.instagram.com/chauhansahab005/), [Twitter](https://twitter.com/chauhansahab005), [Facebook](https://facebook.com/sagar.chauhan3), [Github](https://github.com/sagarchauhan005)

License
=======

[](#license)

MIT

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2187404c123a66d5fb7ad905fd226e1a077c2108f973dd3fa280ba2d641e321?d=identicon)[sagarchauhan005](/maintainers/sagarchauhan005)

---

Top Contributors

[![sagarchauhan005](https://avatars.githubusercontent.com/u/7292512?v=4)](https://github.com/sagarchauhan005 "sagarchauhan005 (22 commits)")

### Embed Badge

![Health badge](/badges/sagarchauhan-laravel-serverless-installer/health.svg)

```
[![Health](https://phpackages.com/badges/sagarchauhan-laravel-serverless-installer/health.svg)](https://phpackages.com/packages/sagarchauhan-laravel-serverless-installer)
```

###  Alternatives

[sylius-labs/polyfill-symfony-event-dispatcher

Symfony EventDispatcher Polyfill

218.5M2](/packages/sylius-labs-polyfill-symfony-event-dispatcher)[yepsua/filament-rating-field

Ranting field for the Filament forms

4738.0k](/packages/yepsua-filament-rating-field)[aura/payload-interface

An interface package for Domain Payload implementations.

13404.3k4](/packages/aura-payload-interface)

PHPackages © 2026

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