PHP React Lambda Example
Example of rendering a React component in PHP through a Lambda function.
$ git checkout https://github.com/webstronauts/php-react-lambda-example.git $ cd php-react-lambda-example $ composer install $ npm install
Then package and deploy the React code to AWS Lambda:
$ npm run deploy
Now run the PHP application with the following command:
$ composer run
The above installation steps all assume that you have setup an AWS credentials file in your HOME directory.
The MIT License (MIT). Please see LICENSE for more information.