Looking to hire Laravel developers? Try LaraJobs

bref-laravel-container-demo maintained by thtg88

Description
A demo of a Bref project, which will contain a Laravel application in its src folder
Author
Last update
2021/03/12 16:06 (dev-main)
License
Links
Downloads
50

Comments
comments powered by Disqus

Bref Laravel Container Demo

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