PHPackages                             sachink23/serverless-php - 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. sachink23/serverless-php

ActiveTemplate[Framework](/categories/framework)

sachink23/serverless-php
========================

Framework based on https://bref.sh/ for building serverless PHP applications on AWS Lambda

v0.03(6y ago)012[1 issues](https://github.com/sachink23/Serverless-PHP/issues)MITPHPPHP ^7.3CI failing

Since Apr 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sachink23/Serverless-PHP)[ Packagist](https://packagist.org/packages/sachink23/serverless-php)[ Docs](https://serverless-php.sachink.com)[ RSS](/packages/sachink23-serverless-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Serverless-PHP
==============

[](#serverless-php)

Serverless-PHP is a simple, lightweight, and object oriented framework based on Bref, which simplifies the application development process using handlers (similar to the Components in Angular Framework) on AWS using Lambda Functions and API Gateway. Serverless-PHP manages requests from API Gateway, their routing, and formats response to return from the function to the user through API Gateway.

- Framework based on  for building serverless PHP applications on AWS Lambda.

Using CLI
---------

[](#using-cli)

- We have a simple CLI utillity which can help us to create simple code files like handlers and classes.
- To use the cli we run the following command from the project directory - `php sls`
- Commands -

1. Create -
    - Create command is used to create handlers and classes.

    1. Creating Handler -

        `php sls create handler "path/to/HandlerName"`

        To create a new handler we use the above command it will create a new handler in `./src/app/path/to/HandlerNameHandler.php`
    2. Creating Class -

        `php sls create class "path/to/ClassName"`

        To create a new class we use the above command it will create a new class in `./src/app/path/to/ClassName.php`

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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

Total

3

Last Release

2205d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/02cd4e13b89a22c2782e83323e28d8152417a59fe323f4dfdb52d9893f1da54f?d=identicon)[sachink23](/maintainers/sachink23)

---

Top Contributors

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

---

Tags

lambda-functionsphpserverless-php-applicationsserverless-php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sachink23-serverless-php/health.svg)

```
[![Health](https://phpackages.com/badges/sachink23-serverless-php/health.svg)](https://phpackages.com/packages/sachink23-serverless-php)
```

###  Alternatives

[laravel/valet

A more enjoyable local development experience for Mac.

2.6k911.9k13](/packages/laravel-valet)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)[bref/laravel-bridge

An advanced Laravel integration for Bref, including Octane support.

3384.1M11](/packages/bref-laravel-bridge)[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68535.8M592](/packages/nette-bootstrap)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M343](/packages/drupal-core-recommended)

PHPackages © 2026

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