An open API service indexing awesome lists of open source software.

https://github.com/laravel-expansions/serverless-function

Lambda Function
https://github.com/laravel-expansions/serverless-function

aws lambda laravel serverless

Last synced: 3 months ago
JSON representation

Lambda Function

Awesome Lists containing this project

README

          

# Serverless Function
Lambda Function Handler and Artisan Command

## Setup

Please insttall in an existing Laravel project.
```
composer require laravel-expansions/serverless-function
```

Then let's create a ```handler``` file:
```
php artisan vendor:publish --tag=expantion-function
```

## Create Function

Create function and check ```/app/Functions``` directory.
```
php artisan make:function {FunctionName}
```

## Publish function stub file

Publish and check ```/stubs``` directory. Then modify ```function.stub``` template file.
```
php artisan vendor:publish --tag=expantion-function-stub
```