PHP code example of popcorn / lambda
1. Go to this page and download the library: Download popcorn/lambda library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
popcorn / lambda example snippets
opcorn\PHPLambda\Lambda;
$lambdaName = 'my-function';
$lambda = new Lambda($lambdaName);
$lambda->createOrUpdate($lambdaName);
bash
$ touch index.php && chmod +x index.php