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 6y 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 3w 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 13% 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

2251d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39992317?v=4)[Sachin Kekarjawalekar](/maintainers/sachink23)[@sachink23](https://github.com/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.6k920.1k14](/packages/laravel-valet)[bref/laravel-bridge

An advanced Laravel integration for Bref, including Octane support.

3404.5M15](/packages/bref-laravel-bridge)[bref/symfony-bridge

Makes Symfony work on AWS Lambda with Bref

501.9M9](/packages/bref-symfony-bridge)[ycodetech/valet-windows

A more enjoyable local development experience for Windows. A Windows port of the popular Laravel Valet and a fork of cretueusebiu/valet-windows, with new features.

451.7k](/packages/ycodetech-valet-windows)

PHPackages © 2026

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