Getting Started
How to setup environment for running Serverless-PHP?
Serverless-PHP uses Bref (https://bref.sh) as a PHP runtime environment for AWS Lambda, and Serveless Framework (https://serverless.com) for simplifying the deployments of the application.
Before getting started you should have some basic knowledge of setting IAM Roles, and creating config credentials in your AWS account.
Installing Serverless Framework
As mentioned Serverless-PHP uses open source serverless framework for simplifying the deployment process on AWS. You need to setup cli for serverless framework in your system and create a free serverless pro account.
Installing Serveless CLI Using NPM
$ npm install serverlessCreating A New Serverless PRO Account
After successfully installing serverless CLI, you can create your free serverless pro account here.
To login into your account use and follow the instructions
$ serverless loginAWS Credentials Setup
$ serverless config credentials --provider aws --key your-credential-key --secret your-credential-secretLast updated
Was this helpful?