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
- Host: GitHub
- URL: https://github.com/laravel-expansions/serverless-function
- Owner: laravel-expansions
- License: mit
- Created: 2022-07-10T07:54:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-22T20:52:59.000Z (over 3 years ago)
- Last Synced: 2025-08-27T14:09:53.985Z (8 months ago)
- Topics: aws, lambda, laravel, serverless
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```