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

Installs: 49

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:Shell

Type:project

v0.1.1 2021-03-12 15:06 UTC

This package is auto-updated.

Last update: 2022-04-12 17:37:26 UTC


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