laravel-expansions / serverless-function
Lambda Function
Installs: 1 127
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 1
Type:project
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