laravel-expansions/serverless-function

Lambda Function

v1.0.3 2022-07-11 07:04 UTC

This package is auto-updated.

Last update: 2024-05-23 00:53:35 UTC


README

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