PHP code example of vognev / laravel-serverless-aws
1. Go to this page and download the library: Download vognev/laravel-serverless-aws 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/ */
vognev / laravel-serverless-aws example snippets
return [
'sqs' => [
'token' => env('AWS_SESSION_TOKEN')
]
];
yaml
provider:
environment:
LOG_CHANNEL: stderr
SESSION_DRIVER: cookie
APP_PACKAGES_CACHE: /tmp/packages.php
APP_SERVICES_CACHE: /tmp/services.php
APP_CONFIG_CACHE: /tmp/config.php
APP_ROUTES_CACHE: /tmp/routes.php
APP_EVENTS_CACHE: /tmp/events.php