thtg88 / bref-laravel-container-demo
This package is abandoned and no longer maintained.
No replacement package was suggested.
A demo of a Bref project, which will contain a Laravel application in its src folder
Package info
github.com/thtg88/bref-laravel-container-demo
Language:Shell
Type:project
pkg:composer/thtg88/bref-laravel-container-demo
v0.1.1
2021-03-12 15:06 UTC
Requires
- php: ^8.0
- bref/bref: ^1.0
- bref/laravel-bridge: ^1.0
README
This project is a container of an application that will run Bref on AWS Lambda. The target Laravel application will have to be copied in the src folder.
Requirements
- PHP 8.0
- Composer
- Serverless (
npm i -g serverless) - AWS CLI with a profile set up (
aws configure). See this blog article on how to prepare your AWS environment for usage with this stack
Usage
composer create-project thtg88/bref-laravel-container-demo
Then either copy your application code within the src folder, or git clone into it.
Deployment
This will create a CloudFormation stack using the configured AWS credentials in your own CLI profile (aws configure for setting them up). See this blog article on how to prepare your AWS environment for usage with Serverless
./deploy.sh
Development
git clone git@github.com:thtg88/bref-laravel-container-demo.git composer install