Download the PHP package sachink23/serverless-php without Composer
On this page you can find all versions of the php package sachink23/serverless-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sachink23/serverless-php
More information about sachink23/serverless-php
Files in sachink23/serverless-php
Package serverless-php
Short Description Framework based on https://bref.sh/ for building serverless PHP applications on AWS Lambda
License MIT
Homepage https://serverless-php.sachink.com
Informations about the package 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 https://bref.sh/ for building serverless PHP applications on AWS Lambda.
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 -
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 -
To create a new class we use the above command it will create a new class in `./src/app/path/to/ClassName.php`
-