PHP code example of ignited / laravel-serverless

1. Go to this page and download the library: Download ignited/laravel-serverless 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/ */

    

ignited / laravel-serverless example snippets

bash
php artisan vendor:publish --provider="Ignited\LaravelServerless\LaravelServerlessServiceProvider"
(yml)
(PHP 7.2)
arn:aws:lambda:ap-southeast-2:209497400698:layer:php-72-fpm:14

(PHP 7.3)
arn:aws:lambda:ap-southeast-2:209497400698:layer:php-73-fpm:14