PHPackages                             sunkan/serverless-config-builder - 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. sunkan/serverless-config-builder

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

sunkan/serverless-config-builder
================================

Library to help with programmatically generate serverless.yml

04.7k↓50%PHP

Since Aug 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sunkan/serverless-config-builder)[ Packagist](https://packagist.org/packages/sunkan/serverless-config-builder)[ RSS](/packages/sunkan-serverless-config-builder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Serverless Config Builder
=========================

[](#serverless-config-builder)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8a1bc3ab5fe7775236c62d3ec5ef31943690fce44645540af071a76f67c94646/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73756e6b616e2f7365727665726c6573732d636f6e6669672d6275696c6465722e737667)](https://packagist.org/packages/sunkan/serverless-config-builder)[![Software License](https://camo.githubusercontent.com/ef49ebe9cfbabfa73b367b1b536763ba0562e34a9e7e3bd3bd604a71ed450233/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73756e6b616e2f7365727665726c6573732d636f6e6669672d6275696c6465722e737667)](LICENSE)[![Build Status](https://github.com/sunkan/serverless-config-builder/actions/workflows/unit-test.yml/badge.svg)](https://github.com/sunkan/serverless-config-builder/actions/workflows/unit-test.yml)[![Coverage Status](https://camo.githubusercontent.com/62374cfbff3a4a96e0f37e53f2180599fdec9b66361741112969e67c3f29240a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f73756e6b616e2f7365727665726c6573732d636f6e6669672d6275696c6465722f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/sunkan/serverless-config-builder?branch=main)

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

[](#installation)

```
$ composer require sunkan/serverless-config-builder

```

Usage
-----

[](#usage)

```
use Sunkan\ServerlessConfigBuilder\Builder;
use Sunkan\ServerlessConfigBuilder\Entities\HttpFunction;
use Sunkan\ServerlessConfigBuilder\Entities\SqsFunction;

$builder = Builder::fromTemplate(__DIR__ . '/resources/serverless.template.yml');
$builder->addFunction(HttpFunction::fromObject(TestAction::class));
$sqsFunction = new SqsFunction(
'sqs-handler',
    TestAction::class,
    'arn:to:queue',
);
$builder->addFunction($sqsFunction);
$builder->save('serverless.yml');
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

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/ce9d40996574fd1f18f69556c872c6eb94e59977c5f0b33c9df541d82fbb3800?d=identicon)[sunkan](/maintainers/sunkan)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sunkan-serverless-config-builder/health.svg)

```
[![Health](https://phpackages.com/badges/sunkan-serverless-config-builder/health.svg)](https://phpackages.com/packages/sunkan-serverless-config-builder)
```

###  Alternatives

[nzedb/nzedb

A Usenet Indexer

6415.4k](/packages/nzedb-nzedb)

PHPackages © 2026

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